From 065af62f59c2244cf0c80e54218692c95dd7c0cd Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 21 May 2018 18:20:29 +0200 Subject: profile-widget: Change Q_UNUSED to no parameter name C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen --- profile-widget/divetooltipitem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'profile-widget/divetooltipitem.cpp') 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()); -- cgit v1.2.3-70-g09d2