summaryrefslogtreecommitdiff
path: root/components/custom/BasicButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/custom/BasicButton.qml')
-rw-r--r--components/custom/BasicButton.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/custom/BasicButton.qml b/components/custom/BasicButton.qml
index 258dc586..41f6935d 100644
--- a/components/custom/BasicButton.qml
+++ b/components/custom/BasicButton.qml
@@ -1,6 +1,5 @@
import QtQuick 1.1
import "./behaviors" // ButtonBehavior
-import "./styles/default" as DefaultStyles
Item {
id: button
@@ -11,7 +10,7 @@ Item {
property alias checkable: behavior.checkable // button toggles between checked and !checked
property alias checked: behavior.checked
- property Component background: defaultStyle.background
+ property Component background: null
property color backgroundColor: syspal.button
property color textColor: syspal.text;
@@ -51,6 +50,5 @@ Item {
}
}
- DefaultStyles.BasicButtonStyle { id: defaultStyle }
SystemPalette { id: syspal }
}