Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Handle theme switching correctly if a palette is set
If a palette is set on the application object and the user does something to trigger a theme change, i.e. connects via remote desktop or logs out and in again, then it will cause Qt to render incorrectly. Therefore we should only update the palette from the new theme if we don't have our own already set. Task-number: QTBUG-52962 Change-Id: I4e2288efd82ad98b698cc09f26ad188064ec7b2a Reviewed-by: Giuseppe D'Angelo <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
- Loading branch information