diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-06-14 15:44:10 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-06-14 14:40:22 +0000 |
commit | 2523d25fb9976978cf7090bdfcb5dc073c10a0a3 (patch) | |
tree | 40f5d5022eec924617dfcae24c173de346f4ff83 | |
parent | 7b0007e6c95fe80c6a7da77cd39a9e0e4774f734 (diff) |
TabButton: don't create two Theme objects
All delegate items should use/share the same Theme object
that is attached to the control's root item.
Change-Id: I7b02416ddd9d9f75a02c2d9735d6e58dd51ce14f
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r-- | src/imports/controls/TabButton.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/TabButton.qml b/src/imports/controls/TabButton.qml index cb1bf652..05182a60 100644 --- a/src/imports/controls/TabButton.qml +++ b/src/imports/controls/TabButton.qml @@ -69,6 +69,6 @@ AbstractTabButton { background: Rectangle { height: parent.height - 1 implicitHeight: 26 - color: Theme.backgroundColor + color: control.Theme.backgroundColor } } |