diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-20 10:24:26 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-20 10:24:26 (GMT) |
commit | b4384bde09c72dde1620478c98fc20eb76529f3f (patch) | |
tree | 59a7bca1f9b8e77138cb0b28ae7848356f3252c8 /Swift/QtUI/Whiteboard/FreehandLineItem.cpp | |
parent | edeab9429a996aa5641cfb9c4b3fc1386b49d81f (diff) | |
download | swift-contrib-b4384bde09c72dde1620478c98fc20eb76529f3f.zip swift-contrib-b4384bde09c72dde1620478c98fc20eb76529f3f.tar.bz2 |
Made compilation of whiteboard components warning free
Diffstat (limited to 'Swift/QtUI/Whiteboard/FreehandLineItem.cpp')
-rw-r--r-- | Swift/QtUI/Whiteboard/FreehandLineItem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/Whiteboard/FreehandLineItem.cpp b/Swift/QtUI/Whiteboard/FreehandLineItem.cpp index 92c4005..9beb47b 100644 --- a/Swift/QtUI/Whiteboard/FreehandLineItem.cpp +++ b/Swift/QtUI/Whiteboard/FreehandLineItem.cpp @@ -16,7 +16,7 @@ namespace Swift { return boundRect; } - void FreehandLineItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) + void FreehandLineItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* /*option*/, QWidget* /*widget*/) { painter->setPen(pen_); if (points_.size() > 0) { @@ -67,7 +67,7 @@ namespace Swift { update(rect); } - bool FreehandLineItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const + bool FreehandLineItem::collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode /*mode*/) const { QVector<QPointF>::const_iterator it; QSizeF size(1,1); |