iOS: Propagate UIColor.tintColor as QPalette::AccentColor
Change-Id: Ib7418782f22abd8b60747d9df65810ff288a8246 Reviewed-by: Doris Verria <doris.verria@qt.io> (cherry picked from commit 69cc7f946a66527c3f2b7a28510dcb37459dc33a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
a77605f3ad
commit
94aef47539
@ -69,6 +69,8 @@ void QIOSTheme::initializeSystemPalette()
|
||||
|
||||
s_systemPalette.setBrush(QPalette::Highlight, QColor(11, 70, 150, 60));
|
||||
s_systemPalette.setBrush(QPalette::HighlightedText, qt_mac_toQBrush(UIColor.labelColor.CGColor));
|
||||
|
||||
s_systemPalette.setBrush(QPalette::AccentColor, qt_mac_toQBrush(UIColor.tintColor.CGColor));
|
||||
}
|
||||
|
||||
const QPalette *QIOSTheme::palette(QPlatformTheme::Palette type) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user