summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/TabViewStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/TabViewStyle.qml')
-rw-r--r--src/controls/Styles/Base/TabViewStyle.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/controls/Styles/Base/TabViewStyle.qml b/src/controls/Styles/Base/TabViewStyle.qml
index f13787ad..44c6ca72 100644
--- a/src/controls/Styles/Base/TabViewStyle.qml
+++ b/src/controls/Styles/Base/TabViewStyle.qml
@@ -169,11 +169,7 @@ Style {
elide: Text.ElideMiddle
renderType: Text.NativeRendering
scale: control.tabPosition === Qt.TopEdge ? 1 : -1
- property var __syspal: SystemPalette {
- colorGroup: styleData.enabled ?
- SystemPalette.Active : SystemPalette.Disabled
- }
- color: __syspal.text
+ color: SystemPaletteSingleton.text(styleData.enabled)
Rectangle {
anchors.centerIn: parent
width: textitem.paintedWidth + 6