aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquicksystempalette.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-07-14 09:35:37 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-07-14 15:10:45 +0200
commitfda7978c20d390f3748c012834c6b6c817208a7d (patch)
tree25bf8be6dd87981b1898467cbd0858fe555a803c /src/quick/util/qquicksystempalette.cpp
parentbcf3f29c6d26777c8db814477b8f3c3e19826234 (diff)
Fix life cycle methods for some QML-exposed types
Follow the rule of 5: Drop empty dtors, and add Q_DISABLE_COPY_MOVE where we do need an explicit dtor. Change-Id: Icbb9d87e1087c69b1cf1f18062a496c148935783 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/quick/util/qquicksystempalette.cpp')
-rw-r--r--src/quick/util/qquicksystempalette.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/quick/util/qquicksystempalette.cpp b/src/quick/util/qquicksystempalette.cpp
index 191607a597..39270e7ef2 100644
--- a/src/quick/util/qquicksystempalette.cpp
+++ b/src/quick/util/qquicksystempalette.cpp
@@ -86,10 +86,6 @@ QQuickSystemPalette::QQuickSystemPalette(QObject *parent)
connect(qApp, SIGNAL(paletteChanged(QPalette)), this, SIGNAL(paletteChanged()));
}
-QQuickSystemPalette::~QQuickSystemPalette()
-{
-}
-
/*!
\qmlproperty color QtQuick::SystemPalette::window
The window (general background) color of the current color group.