summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-07-20 10:24:26 (GMT)
committerMateusz Piekos <mateuszpiekos@gmail.com>2012-07-20 10:24:26 (GMT)
commitb4384bde09c72dde1620478c98fc20eb76529f3f (patch)
tree59a7bca1f9b8e77138cb0b28ae7848356f3252c8 /Swift/QtUI/Whiteboard/FreehandLineItem.h
parentedeab9429a996aa5641cfb9c4b3fc1386b49d81f (diff)
downloadswift-contrib-b4384bde09c72dde1620478c98fc20eb76529f3f.zip
swift-contrib-b4384bde09c72dde1620478c98fc20eb76529f3f.tar.bz2
Made compilation of whiteboard components warning free
Diffstat (limited to 'Swift/QtUI/Whiteboard/FreehandLineItem.h')
-rw-r--r--Swift/QtUI/Whiteboard/FreehandLineItem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/Whiteboard/FreehandLineItem.h b/Swift/QtUI/Whiteboard/FreehandLineItem.h
index b0be36b..f3c6607 100644
--- a/Swift/QtUI/Whiteboard/FreehandLineItem.h
+++ b/Swift/QtUI/Whiteboard/FreehandLineItem.h
@@ -18,10 +18,10 @@ namespace Swift {
enum {Type = UserType + 1};
FreehandLineItem(QGraphicsItem* parent = 0);
QRectF boundingRect() const;
- void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
+ void paint(QPainter* painter, const QStyleOptionGraphicsItem* /*option*/, QWidget* /*widget*/ = 0);
void setStartPoint(QPointF point);
void lineTo(QPointF point);
- bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const;
+ bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode /*mode*/ = Qt::IntersectsItemShape) const;
void setPen(const QPen& pen);
QPen pen() const;
const QVector<QPointF>& points() const;