summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-09 16:22:56 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-09 16:22:56 (GMT)
commitd6884522f26cec481d9cce49dad90365378829d7 (patch)
tree27f2852df4de8b744e908914ac6d3f8c6857f03a
parentdf10d176d238d70fb40b828257e8d43376811741 (diff)
Prevent copies of MarbleGraphicsItem already, not just on subclasses
-rw-r--r--src/lib/marble/graphicsview/MarbleGraphicsItem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/marble/graphicsview/MarbleGraphicsItem.h b/src/lib/marble/graphicsview/MarbleGraphicsItem.h
index 2a14aef..534afbb 100644
--- a/src/lib/marble/graphicsview/MarbleGraphicsItem.h
+++ b/src/lib/marble/graphicsview/MarbleGraphicsItem.h
@@ -144,6 +144,7 @@ class MARBLE_EXPORT MarbleGraphicsItem
MarbleGraphicsItemPrivate * const d_ptr;
private:
+ Q_DISABLE_COPY(MarbleGraphicsItem)
Q_DECLARE_PRIVATE(MarbleGraphicsItem)
};