Provide window palette for quickcontrol application window
The quickcontrols window use default palette to determine window frame color and this is different from quick theme palette which causes incorrect window frame color. This patch allows quickcontrol to provides quicktheme palette to determine frame color. Fixes: QTBUG-111491 Pick-to: 6.5 Change-Id: I672d8214ebe5d8399086055c26e5169b15b14397 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
12e4871465
commit
489b070b6e
|
@ -112,6 +112,7 @@ public:
|
|||
void itemVisibilityChanged(QQuickItem *item) override;
|
||||
void itemImplicitWidthChanged(QQuickItem *item) override;
|
||||
void itemImplicitHeightChanged(QQuickItem *item) override;
|
||||
QPalette windowPalette() const override { return defaultPalette(); }
|
||||
|
||||
void updateFont(const QFont &f);
|
||||
inline void setFont_helper(const QFont &f) {
|
||||
|
|
Loading…
Reference in New Issue