Skip to content

Commit 0d1c15a

Browse files
author
g_j_m
committed
Make the 'pixmap not found' message a bit clearer
git-svn-id: http://svn.osgeo.org/qgis/trunk@6104 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 4bbdce5 commit 0d1c15a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/plugins/north_arrow/plugin.cpp

+2-2
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

+2-2
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)