Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Nov 17, 2006
1 parent 4bbdce5 commit 0d1c15a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/plugins/north_arrow/plugin.cpp
Expand Up @@ -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")));
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/north_arrow/plugingui.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0d1c15a

Please sign in to comment.