summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/RadioButtonStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/RadioButtonStyle.qml')
-rw-r--r--src/controls/Styles/Base/RadioButtonStyle.qml7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/controls/Styles/Base/RadioButtonStyle.qml b/src/controls/Styles/Base/RadioButtonStyle.qml
index 0f242eb0..86b7c816 100644
--- a/src/controls/Styles/Base/RadioButtonStyle.qml
+++ b/src/controls/Styles/Base/RadioButtonStyle.qml
@@ -75,11 +75,6 @@ import QtQuick.Controls.Private 1.0
Style {
id: radiobuttonStyle
- /*! \internal */
- property var __syspal: SystemPalette {
- colorGroup: control.enabled ?
- SystemPalette.Active : SystemPalette.Disabled
- }
/*! The \l RadioButton attached to this style. */
readonly property RadioButton control: __control
@@ -104,7 +99,7 @@ Style {
id: text
text: control.text
anchors.centerIn: parent
- color: __syspal.text
+ color: SystemPaletteSingleton.text(control.enabled)
renderType: Text.NativeRendering
}
}