From 3524d8d211d633fa17160f8a3aecc42b88f0935c Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Fri, 17 Aug 2012 19:27:02 +0200 Subject: fix some warnings --- qmapwatchlet/mapview.cc | 2 ++ 1 file changed, 2 insertions(+) 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 } -- cgit v1.2.3