summaryrefslogtreecommitdiff
path: root/src/controls/Private/BasicButton.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-06-18 20:38:18 +0200
committerJ-P Nurmi <jpnurmi@digia.com>2014-06-20 19:56:29 +0200
commita99380b155bf679e240e4d01b70691feebad0d4c (patch)
tree35255bd1dcd86ced22c02c3f54219ab5eada8648 /src/controls/Private/BasicButton.qml
parentd9b0bc144676a5a984ee2f1443419336cf258c94 (diff)
downloadqtquickcontrols-a99380b155bf679e240e4d01b70691feebad0d4c.tar.gz
Remove unused BasicButton::__textColor
Gets rid of an extra SystemPalette instance that installs an event filter on the application object. Change-Id: Ib7e1fd5634084a2b949bb5b7146fabe89f05be38 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'src/controls/Private/BasicButton.qml')
-rw-r--r--src/controls/Private/BasicButton.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/controls/Private/BasicButton.qml b/src/controls/Private/BasicButton.qml
index 849315e9..f482ad72 100644
--- a/src/controls/Private/BasicButton.qml
+++ b/src/controls/Private/BasicButton.qml
@@ -126,8 +126,6 @@ Control {
property string iconName: action ? action.iconName : ""
/*! \internal */
- property color __textColor: syspal.text
- /*! \internal */
property string __position: "only"
/*! \internal */
readonly property bool __iconOverriden: button.action && (button.action.iconSource !== button.iconSource || button.action.iconName !== button.iconName)
@@ -218,8 +216,6 @@ Control {
/*! \internal */
property bool __effectivePressed: behavior.effectivePressed
- SystemPalette { id: syspal }
-
states: [
State {
name: "boundAction"