Mercurial > hg > easyhg
comparison src/changesetitem.cpp @ 671:ce29dc775650 qt5
Fix compiler warnings
author | Chris Cannam |
---|---|
date | Wed, 05 Dec 2018 09:43:26 +0000 |
parents | 35b0a7aa1fc1 |
children | c0b46d0514a7 751b21af6b6f |
comparison
equal
deleted
inserted
replaced
670:8f3075eeaac2 | 671:ce29dc775650 |
---|---|
511 int ps = int((f.pixelSize() / scale) + 0.5); | 511 int ps = int((f.pixelSize() / scale) + 0.5); |
512 if (ps < 8) ps = 8; | 512 if (ps < 8) ps = 8; |
513 f.setPixelSize(ps); | 513 f.setPixelSize(ps); |
514 } | 514 } |
515 | 515 |
516 bool showText = (scale >= 0.2); | |
517 bool showProperLines = (scale >= 0.1); | 516 bool showProperLines = (scale >= 0.1); |
518 | 517 |
519 if (!showProperLines) { | 518 if (!showProperLines) { |
520 paint->setPen(QPen(branchColour, 0)); | 519 paint->setPen(QPen(branchColour, 0)); |
521 } else { | 520 } else { |