Fixed implicit conversions from double to int warnings regarding

QPainter.drawRect()
This commit is contained in:
Mark Morschhäuser
2013-05-11 17:41:11 +02:00
parent 314db1f464
commit 0022425687
3 changed files with 4 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ QPixmap CountryPixmapGenerator::generatePixmap(int height, const QString &countr
QPainter painter(&pixmap);
svg.render(&painter, QRectF(0, 0, width, height));
painter.setPen(Qt::black);
painter.drawRect(0.5, 0.5, width - 1, height - 1);
painter.drawRect(0, 0, width - 1, height - 1);
pmCache.insert(key, pixmap);
return pixmap;