diff options
Diffstat (limited to 'profile-widget/divetooltipitem.cpp')
-rw-r--r-- | profile-widget/divetooltipitem.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/profile-widget/divetooltipitem.cpp b/profile-widget/divetooltipitem.cpp index f286ef9a6..09719c0ec 100644 --- a/profile-widget/divetooltipitem.cpp +++ b/profile-widget/divetooltipitem.cpp @@ -194,9 +194,8 @@ void ToolTipItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) } } -void ToolTipItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) +void ToolTipItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget*) { - Q_UNUSED(widget); painter->save(); painter->setClipRect(option->rect); painter->setPen(pen()); |