summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/Whiteboard/FreehandLineItem.cpp')
-rw-r--r--Swift/QtUI/Whiteboard/FreehandLineItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Whiteboard/FreehandLineItem.cpp b/Swift/QtUI/Whiteboard/FreehandLineItem.cpp
index af8e827..bd53843 100644
--- a/Swift/QtUI/Whiteboard/FreehandLineItem.cpp
+++ b/Swift/QtUI/Whiteboard/FreehandLineItem.cpp
@@ -86,7 +86,7 @@ namespace Swift {
return pen_;
}
- QVector<QPointF> FreehandLineItem::points() const {
+ const QVector<QPointF>& FreehandLineItem::points() const {
return points_;
}