summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsstyle_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-18 10:25:08 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-18 09:15:52 +0000
commit5655f3413151beb0abaeb847942f7bf29a114d7d (patch)
treeb3a876237e80c9171836f0f0724a6b5d00aced5f /src/widgets/styles/qwindowsstyle_p.h
parent7c7ece94429d6e12e0543c275d26fd90501193ff (diff)
QWindows(XP)Style: fix build with Clang after includemocs run
Clang doesn't like the unused member variable: qwindowsstyle_p.h:100:11: error: private field 'reserved' is not used [-Werror,-Wunused-private-field] Remove. It's private API. Triggered by Clang seeing all methods of the classes in one TU by the following includemocs commit. Change-Id: I84e92d63af573c090ef89c1d8ee19af30f90b171 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/styles/qwindowsstyle_p.h')
-rw-r--r--src/widgets/styles/qwindowsstyle_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widgets/styles/qwindowsstyle_p.h b/src/widgets/styles/qwindowsstyle_p.h
index da36d2af1b..2724222652 100644
--- a/src/widgets/styles/qwindowsstyle_p.h
+++ b/src/widgets/styles/qwindowsstyle_p.h
@@ -97,7 +97,6 @@ protected:
private:
Q_DISABLE_COPY(QWindowsStyle)
Q_DECLARE_PRIVATE(QWindowsStyle)
- void *reserved;
};
#endif // QT_NO_STYLE_WINDOWS