Skip to content

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎src/plugins/north_arrow/plugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ void QgsNorthArrowPlugin::renderNorthArrow(QPainter * theQPainter)
235235
}
236236
else
237237
{
238-
QFont myQFont("time", 32, QFont::Bold);
238+
QFont myQFont("time", 12, QFont::Bold);
239239
theQPainter->setFont(myQFont);
240240
theQPainter->setPen(Qt::black);
241-
theQPainter->drawText(10, 20, QString(tr("Pixmap Not Found")));
241+
theQPainter->drawText(10, 20, QString(tr("North arrow pixmap not found")));
242242
}
243243
}
244244

‎src/plugins/north_arrow/plugingui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ void QgsNorthArrowPluginGui::rotatePixmap(int theRotationInt)
152152
myPainterPixmap.fill();
153153
QPainter myQPainter;
154154
myQPainter.begin(&myPainterPixmap);
155-
QFont myQFont("time", 18, QFont::Bold);
155+
QFont myQFont("time", 12, QFont::Bold);
156156
myQPainter.setFont(myQFont);
157157
myQPainter.setPen(Qt::red);
158-
myQPainter.drawText(10, 20, tr("Pixmap Not Found"));
158+
myQPainter.drawText(10, 20, tr("Pixmap not found"));
159159
myQPainter.end();
160160
pixmapLabel->setPixmap(myPainterPixmap);
161161
}

0 commit comments

Comments
 (0)
Please sign in to comment.