summaryrefslogtreecommitdiffstats
path: root/src/shared/qtgradienteditor/qtcolorbutton.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-03 17:11:48 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-03 17:11:48 +0200
commit96b70c3a3e269c671f6ecae9c81a0cf7aad1f325 (patch)
tree99b997e43fcc3a4e60a2e75907ab144697e8fa22 /src/shared/qtgradienteditor/qtcolorbutton.h
parent13f0365a960538693ee4b52f9e02864d08845fae (diff)
Qt Designer: Replace Q_DISABLE_COPY by Q_DISABLE_COPY_MOVE
Fix clang warnings like: warning: class '...' defines a default destructor, a copy constructor and a copy assignment operator but does not define a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions Change-Id: I12ead44ddea8f6f69d75f99bea61e69ecac36db4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/shared/qtgradienteditor/qtcolorbutton.h')
-rw-r--r--src/shared/qtgradienteditor/qtcolorbutton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/qtgradienteditor/qtcolorbutton.h b/src/shared/qtgradienteditor/qtcolorbutton.h
index 8684c41a9..65aa67701 100644
--- a/src/shared/qtgradienteditor/qtcolorbutton.h
+++ b/src/shared/qtgradienteditor/qtcolorbutton.h
@@ -75,7 +75,7 @@ protected:
private:
QScopedPointer<class QtColorButtonPrivate> d_ptr;
Q_DECLARE_PRIVATE(QtColorButton)
- Q_DISABLE_COPY(QtColorButton)
+ Q_DISABLE_COPY_MOVE(QtColorButton)
Q_PRIVATE_SLOT(d_func(), void slotEditColor())
};