diff options
author | Yuhang Zhao <2546789017@qq.com> | 2022-11-16 10:51:45 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2022-11-25 12:12:54 +0800 |
commit | acf3f063efd2e1600b59c217189481e158b0eb89 (patch) | |
tree | 7a248cf5a9fa051ba0e4a977643db5a979cecc7c /src/plugins/platforms/windows/qwindowstheme.cpp | |
parent | c2e6e9d02ccb509a2d39c2e7077f293f44133b90 (diff) |
Proper clearing of WinRT factory cache in QWindowsTheme
I've checked the whole qtbase code base, this is the only
one that's left from the previous commit.
Amends commit ffb9dee1b0954e4d4f9e9791175609a80ecafc31
Task-number: QTBUG-103611
Pick-to: 6.4 6.2
Change-Id: I76a9130654819d1336c27dac350f5ad56915ad81
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowstheme.cpp')
-rw-r--r-- | src/plugins/platforms/windows/qwindowstheme.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qwindowstheme.cpp b/src/plugins/platforms/windows/qwindowstheme.cpp index debbfd19a2..8e931b1ed8 100644 --- a/src/plugins/platforms/windows/qwindowstheme.cpp +++ b/src/plugins/platforms/windows/qwindowstheme.cpp @@ -44,6 +44,7 @@ #if QT_CONFIG(cpp_winrt) # include <winrt/base.h> +# include <QtCore/private/qfactorycacheregistration_p.h> // Workaround for Windows SDK bug. // See https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/issues/47 namespace winrt::impl |