summaryrefslogtreecommitdiff
path: root/qmapwatchlet/compassview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmapwatchlet/compassview.cpp')
-rw-r--r--qmapwatchlet/compassview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmapwatchlet/compassview.cpp b/qmapwatchlet/compassview.cpp
index 7ee2853..ae3147b 100644
--- a/qmapwatchlet/compassview.cpp
+++ b/qmapwatchlet/compassview.cpp
@@ -75,7 +75,9 @@ qreal CompassView::currentAltitude() const
void CompassView::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
+ Q_UNUSED(option);
Q_UNUSED(widget);
+
// Now render the arrow indicator
const int centerX = _size.width() / 2, centerY = _size.height() / 2;