summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-17 19:27:02 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-17 19:27:02 +0200
commit3524d8d211d633fa17160f8a3aecc42b88f0935c (patch)
tree8d0e0db5a8c7e49d3b98c35d305b2d47adae8a6f
parent9d50e0a8ea095b8ce40ddba9e2c29bbbc07ede10 (diff)
downloadsowatch-3524d8d211d633fa17160f8a3aecc42b88f0935c.tar.gz
sowatch-3524d8d211d633fa17160f8a3aecc42b88f0935c.zip
fix some warningssowatch_0_4_1
-rw-r--r--qmapwatchlet/mapview.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmapwatchlet/mapview.cc b/qmapwatchlet/mapview.cc
index 30e7775..d647412 100644
--- a/qmapwatchlet/mapview.cc
+++ b/qmapwatchlet/mapview.cc
@@ -109,6 +109,7 @@ void MapView::setZoomLevel(qreal level)
void MapView::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
+ Q_UNUSED(widget);
if (_mapData) {
// Render to an image first
const QSize size(_mapData->windowSize().toSize());
@@ -171,5 +172,6 @@ void MapView::handlePositionUpdate(const QGeoPositionInfo& info)
void MapView::handleMapChanged(const QRectF &rect)
{
+ Q_UNUSED(rect);
update(); // Always do full updates
}