From 80cfb9b8f19338a32091d532d6314b63ea82bcab Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 28 Nov 2013 21:11:45 +0100 Subject: [PATCH] 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 --- src/widgets/graphicsview/qsimplex_p.h | 1 + 1 file changed, 1 insertion(+) 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();