summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/Whiteboard/FreehandLineItem.h')
-rw-r--r--Swift/QtUI/Whiteboard/FreehandLineItem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Whiteboard/FreehandLineItem.h b/Swift/QtUI/Whiteboard/FreehandLineItem.h
index e995cab..b0be36b 100644
--- a/Swift/QtUI/Whiteboard/FreehandLineItem.h
+++ b/Swift/QtUI/Whiteboard/FreehandLineItem.h
@@ -24,7 +24,7 @@ namespace Swift {
bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const;
void setPen(const QPen& pen);
QPen pen() const;
- QVector<QPointF> points() const;
+ const QVector<QPointF>& points() const;
int type() const;
private: