Skip to content
Permalink
Browse files

Make the 'pixmap not found' message a bit clearer

git-svn-id: http://svn.osgeo.org/qgis/trunk@6104 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Nov 17, 2006
1 parent 4bbdce5 commit 0d1c15a6b116218c884872712aeef71b1c955811
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/plugins/north_arrow/plugin.cpp
  2. +2 −2 src/plugins/north_arrow/plugingui.cpp
@@ -235,10 +235,10 @@ void QgsNorthArrowPlugin::renderNorthArrow(QPainter * theQPainter)
}
else
{
QFont myQFont("time", 32, QFont::Bold);
QFont myQFont("time", 12, QFont::Bold);
theQPainter->setFont(myQFont);
theQPainter->setPen(Qt::black);
theQPainter->drawText(10, 20, QString(tr("Pixmap Not Found")));
theQPainter->drawText(10, 20, QString(tr("North arrow pixmap not found")));
}
}

@@ -152,10 +152,10 @@ void QgsNorthArrowPluginGui::rotatePixmap(int theRotationInt)
myPainterPixmap.fill();
QPainter myQPainter;
myQPainter.begin(&myPainterPixmap);
QFont myQFont("time", 18, QFont::Bold);
QFont myQFont("time", 12, QFont::Bold);
myQPainter.setFont(myQFont);
myQPainter.setPen(Qt::red);
myQPainter.drawText(10, 20, tr("Pixmap Not Found"));
myQPainter.drawText(10, 20, tr("Pixmap not found"));
myQPainter.end();
pixmapLabel->setPixmap(myPainterPixmap);
}

0 comments on commit 0d1c15a

Please sign in to comment.
You can’t perform that action at this time.