summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Desktop/TableViewStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Desktop/TableViewStyle.qml')
-rw-r--r--src/controls/Styles/Desktop/TableViewStyle.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/controls/Styles/Desktop/TableViewStyle.qml b/src/controls/Styles/Desktop/TableViewStyle.qml
index 5ad1f394..605c62d6 100644
--- a/src/controls/Styles/Desktop/TableViewStyle.qml
+++ b/src/controls/Styles/Desktop/TableViewStyle.qml
@@ -45,14 +45,10 @@ import "."
ScrollViewStyle {
id: root
- property var __syspal: SystemPalette {
- colorGroup: control.enabled ?
- SystemPalette.Active : SystemPalette.Disabled
- }
readonly property TableView control: __control
property bool activateItemOnSingleClick: __styleitem.styleHint("activateItemOnSingleClick")
property color textColor: __styleitem.textColor
- property color backgroundColor: __syspal.base
+ property color backgroundColor: SystemPaletteSingleton.base(control.enabled)
property color highlightedTextColor: __styleitem.highlightedTextColor
property StyleItem __styleitem: StyleItem{