summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicssceneindex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneindex.h')
-rw-r--r--src/gui/graphicsview/qgraphicssceneindex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneindex.h b/src/gui/graphicsview/qgraphicssceneindex.h
index 5e825ba..bda6f5e 100644
--- a/src/gui/graphicsview/qgraphicssceneindex.h
+++ b/src/gui/graphicsview/qgraphicssceneindex.h
@@ -69,9 +69,9 @@ public:
virtual void clear() = 0;
virtual void insertItem(QGraphicsItem *item) = 0;
- virtual void insertItems(QList<QGraphicsItem *> items) = 0;
+ virtual void insertItems(const QList<QGraphicsItem *> &items) = 0;
virtual void removeItem(QGraphicsItem *item) = 0;
- virtual void removeItems(QList<QGraphicsItem *> items) = 0;
+ virtual void removeItems(const QList<QGraphicsItem *> &items) = 0;
virtual QList<QGraphicsItem *> items(const QRectF &rect) = 0;