git-svn-id: svn://db.shs.com.ru/libs@133 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
2016-11-07 13:37:42 +00:00
parent 8bbb661966
commit fa98165775
6 changed files with 5 additions and 6 deletions

View File

@@ -853,7 +853,7 @@ void Graphic::drawGrid() {
cy = 0;
cx = gbx - 5;
grid_pen.setWidth(qMax<int>(qRound(thick / 1.4), 1));
QFont nf = font(), sf = font();
QFont nf = sf = font();
sf.setPointSizeF(qMax<qreal>(sf.pointSizeF() / 1.6, 7.));
QFontMetrics fm(nf), sfm(sf);
if (step > 0.) {