diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-04-23 19:34:15 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-04-25 07:19:42 +0000 |
commit | f2ede1a01237c0ff0285716359a8b57a6676a94d (patch) | |
tree | df970a6cae126a6698706370232e878c595c1f14 /tests/auto/qquickstyleselector/data/FileSystemStyle/Button.qml | |
parent | 99fa43b3708d6615e17d0cc5561aca78a9c72d1a (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/FileSystemStyle/Button.qml')
-rw-r--r-- | tests/auto/qquickstyleselector/data/FileSystemStyle/Button.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qquickstyleselector/data/FileSystemStyle/Button.qml b/tests/auto/qquickstyleselector/data/FileSystemStyle/Button.qml new file mode 100644 index 00000000..5b08222c --- /dev/null +++ b/tests/auto/qquickstyleselector/data/FileSystemStyle/Button.qml @@ -0,0 +1,2 @@ +import QtQuick.Templates 2.0 as T +T.Button { } |