diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-05-04 09:11:13 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-04 09:20:07 +0200 |
commit | e40b13459bb382732c1f0349bd1274b9ba55078b (patch) | |
tree | c6f1890ab63d28995c9b0a9300b1b4de1dc82ec8 /src/widgets/styles/qwindowsxpstyle_p.h | |
parent | fde021c6d73f1785fb4763c01f3d5ed691373e33 (diff) |
Windows: Fix Vista style for use with QProxyStyle.
Cleanup the treeview helper window in case XP style cleans
the handle map.
This fixes the drawing of the PE_IndicatorBranch primitives
in Qt Creator.
Task-number: QTBUG-25395
Change-Id: Iba561709e3d4032a59690c7b9163fb69bfa98619
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/widgets/styles/qwindowsxpstyle_p.h')
-rw-r--r-- | src/widgets/styles/qwindowsxpstyle_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/styles/qwindowsxpstyle_p.h b/src/widgets/styles/qwindowsxpstyle_p.h index 058668d3fb..1ef60096c7 100644 --- a/src/widgets/styles/qwindowsxpstyle_p.h +++ b/src/widgets/styles/qwindowsxpstyle_p.h @@ -351,6 +351,7 @@ public: static HTHEME createTheme(int theme, HWND hwnd); static QString themeName(int theme); + static inline bool hasTheme(int theme) { return theme >= 0 && theme < NThemes && m_themes[theme]; } QIcon dockFloat, dockClose; |