diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-06-18 21:28:33 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@digia.com> | 2014-06-23 09:14:24 +0200 |
commit | 266fab2a8920dc79e52555b81cf1708233c1b60f (patch) | |
tree | 4829c6903c95f7582abdfbb1265cf50c98381e35 /src/controls/Private/Style.qml | |
parent | 9578edd239f4f1e33d2bf5c044b1bf80ab2c595d (diff) | |
download | qtquickcontrols-266fab2a8920dc79e52555b81cf1708233c1b60f.tar.gz |
Singleton SystemPalette
Each SystemPalette instance installs an event filter on the
application object. Avoid this by sharing a single SystemPalette
instance.
Change-Id: Ica9f8979b33e511c1238add3d689f380d0daa93c
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'src/controls/Private/Style.qml')
-rw-r--r-- | src/controls/Private/Style.qml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/controls/Private/Style.qml b/src/controls/Private/Style.qml index e99db169..53497517 100644 --- a/src/controls/Private/Style.qml +++ b/src/controls/Private/Style.qml @@ -50,10 +50,4 @@ import QtQuick.Controls.Private 1.0 AbstractStyle { /*! The control attached to this style */ readonly property Item control: __control - - /*! \internal */ - property var __syspal: SystemPalette { - colorGroup: control.enabled ? - SystemPalette.Active : SystemPalette.Disabled - } } |