From eacd78950282bb835e9b8b4e955b4f93f3c5167f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 6 Aug 2018 10:45:53 +0200 Subject: Windows QPA: Fix clang-tidy-warnings about class definitions - Use ' = default' for trivial constructors/destructors - Remove unneeded destructors - replace virtual by override or add override where applicable - Add Q_DISABLE_COPY Change-Id: Ic7a61579dbc845769beada4fc79bb5dd310e5e52 Reviewed-by: Joerg Bornemann --- src/plugins/platforms/windows/qwindowstheme.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/windows/qwindowstheme.h') diff --git a/src/plugins/platforms/windows/qwindowstheme.h b/src/plugins/platforms/windows/qwindowstheme.h index f6e60a268b..c132f20167 100644 --- a/src/plugins/platforms/windows/qwindowstheme.h +++ b/src/plugins/platforms/windows/qwindowstheme.h @@ -51,9 +51,10 @@ class QWindow; class QWindowsTheme : public QPlatformTheme { + Q_DISABLE_COPY(QWindowsTheme) public: QWindowsTheme(); - ~QWindowsTheme(); + ~QWindowsTheme() override; static QWindowsTheme *instance() { return m_instance; } -- cgit v1.2.3