aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-11-13 09:47:26 +0100
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-11-13 11:58:26 +0000
commita6dc0e2462086b42e878a3f4e94216dd1c8bcc63 (patch)
tree36c9cabb54d1d3a4471143d2a41c9b8603a33e2b /tests
parent62287bed3e74cd1a8a60361a7e753e1291a8cad6 (diff)
Apply all styles' theme switches
So that it's no longer necessary to make changes to the testbench to test a different style. Change-Id: I1eefa5f681e3852baa93e8a240af722edf8a45c2 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/testbench/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 86326dec..b7cfd54e 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -42,7 +42,7 @@ import QtQuick 2.3
import QtQuick.Window 2.2
import QtQuick.Layouts 1.0
import Qt.labs.controls 1.0
-//import Qt.labs.controls.material 1.0
+import Qt.labs.controls.material 1.0
import Qt.labs.controls.universal 1.0
ApplicationWindow {
@@ -57,7 +57,7 @@ ApplicationWindow {
Theme.pressColor: themeSwitch.checked ? "#33ffffff" : "#33333333"
Theme.baseColor: themeSwitch.checked ? "#444" : "#eee"
-// Material.theme: themeSwitch.checked ? Material.Dark : Material.Light
+ Material.theme: themeSwitch.checked ? Material.Dark : Material.Light
Universal.theme: themeSwitch.checked ? Universal.Dark : Universal.Light
property int controlSpacing: 10