summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}