aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qquickstyleselector/data/Button.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-04-23 19:34:15 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-25 07:19:42 +0000
commitf2ede1a01237c0ff0285716359a8b57a6676a94d (patch)
treedf970a6cae126a6698706370232e878c595c1f14 /tests/auto/qquickstyleselector/data/Button.qml
parent99fa43b3708d6615e17d0cc5561aca78a9c72d1a (diff)
QQuickStyleSelector: fix relative path handling
This makes it possible to pass a relative path to the style: ./myapp -style relative/path/to/my/style To make the tests pass, includes a fix to avoid double slashes in selected URLs. Change-Id: I1b366eb7793523dd0f1058236661cedaa1216f3d Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/qquickstyleselector/data/Button.qml')
-rw-r--r--tests/auto/qquickstyleselector/data/Button.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qquickstyleselector/data/Button.qml b/tests/auto/qquickstyleselector/data/Button.qml
new file mode 100644
index 00000000..5b08222c
--- /dev/null
+++ b/tests/auto/qquickstyleselector/data/Button.qml
@@ -0,0 +1,2 @@
+import QtQuick.Templates 2.0 as T
+T.Button { }