summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformsurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformsurface.h')
-rw-r--r--src/gui/kernel/qplatformsurface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformsurface.h b/src/gui/kernel/qplatformsurface.h
index 4d8854fb40..475f3ef330 100644
--- a/src/gui/kernel/qplatformsurface.h
+++ b/src/gui/kernel/qplatformsurface.h
@@ -65,6 +65,8 @@ class QDebug;
class Q_GUI_EXPORT QPlatformSurface
{
public:
+ Q_DISABLE_COPY_MOVE(QPlatformSurface)
+
virtual ~QPlatformSurface();
virtual QSurfaceFormat format() const = 0;