summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/controls/Label.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/controls/Label.qml b/src/controls/Label.qml
index b07e96d7..7174b282 100644
--- a/src/controls/Label.qml
+++ b/src/controls/Label.qml
@@ -81,13 +81,9 @@ Text {
*/
id: label
- color: pal.windowText
+ color: SystemPaletteSingleton.windowText(enabled)
activeFocusOnTab: false
renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering
- SystemPalette {
- id: pal
- colorGroup: enabled ? SystemPalette.Active : SystemPalette.Disabled
- }
Accessible.name: text
Accessible.role: Accessible.StaticText
}