summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview/qsimplex_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2013-11-28 21:11:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-28 23:12:28 +0100
commit80cfb9b8f19338a32091d532d6314b63ea82bcab (patch)
tree16c37a916354d8fa8f9681ae3373fbc5f49cea5d /src/widgets/graphicsview/qsimplex_p.h
parent66b7e7497c3b318dddeb91175d8f85f606c99eec (diff)
QSimplex: API cleanup [2/3]: disable copying
QSimplex is not designed to be copied, so disable explicitly. Change-Id: Ia1ddcfe905380e594930717c7c55bb38a7dd4059 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/widgets/graphicsview/qsimplex_p.h')
-rw-r--r--src/widgets/graphicsview/qsimplex_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qsimplex_p.h b/src/widgets/graphicsview/qsimplex_p.h
index 842044fa7f..156aa30397 100644
--- a/src/widgets/graphicsview/qsimplex_p.h
+++ b/src/widgets/graphicsview/qsimplex_p.h
@@ -149,6 +149,7 @@ struct QSimplexConstraint
class QSimplex
{
+ Q_DISABLE_COPY(QSimplex)
public:
QSimplex();
virtual ~QSimplex();