diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-17 19:27:02 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-17 19:27:02 +0200 |
commit | 3524d8d211d633fa17160f8a3aecc42b88f0935c (patch) | |
tree | 8d0e0db5a8c7e49d3b98c35d305b2d47adae8a6f /qmapwatchlet | |
parent | 9d50e0a8ea095b8ce40ddba9e2c29bbbc07ede10 (diff) | |
download | sowatch_0_4_1.tar.gz sowatch_0_4_1.zip |
fix some warningssowatch_0_4_1
Diffstat (limited to 'qmapwatchlet')
-rw-r--r-- | qmapwatchlet/mapview.cc | 2 |
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 } |