Windows: Handle WM_SYSCOLORCHANGE as theme change.
Task-number: QTBUG-34170 Change-Id: I6ca11ab67c1e2752300fc167fb8f3c4f0d9ae2b8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
7c1b39705c
commit
d8745d249f
@ -204,6 +204,9 @@ inline QtWindows::WindowsEventType windowsEventType(UINT message, WPARAM wParamI
|
||||
case WM_DISPLAYCHANGE:
|
||||
return QtWindows::DisplayChangedEvent;
|
||||
case WM_THEMECHANGED:
|
||||
#ifdef WM_SYSCOLORCHANGE // Windows 7: Handle color change as theme change (QTBUG-34170).
|
||||
case WM_SYSCOLORCHANGE:
|
||||
#endif
|
||||
return QtWindows::ThemeChanged;
|
||||
case WM_DWMCOMPOSITIONCHANGED:
|
||||
return QtWindows::CompositionSettingsChanged;
|
||||
|
Loading…
Reference in New Issue
Block a user