diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-01-22 12:06:46 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-01-24 13:47:24 +0000 |
commit | 2a091c3c721861f2ab132dfdd4a07f194a543f9b (patch) | |
tree | 04ec0a94308b649960903cf2b4737ef70cfa279a | |
parent | b500fbfb5b24f24f6cb3cb02981726fb858287ce (diff) |
Use shorter ':/' prefix for Imagine style example config paths
Using either :/ or qrc:/ will work because we handle both cases
in QQuickImagineStyle::url(), but for local file paths, we don't
have any handling for the file:// prefix. This patch just makes
the examples more consistent. A follow up patch will document examples
of specifying the different types of paths.
Change-Id: Ib7fc2fe012242f9b225b4380ca066107b77d0680
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r-- | examples/quickcontrols2/imagine/automotive/qtquickcontrols2.conf | 2 | ||||
-rw-r--r-- | examples/quickcontrols2/imagine/musicplayer/qtquickcontrols2.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/quickcontrols2/imagine/automotive/qtquickcontrols2.conf b/examples/quickcontrols2/imagine/automotive/qtquickcontrols2.conf index c8bcdd40..c7fc7a61 100644 --- a/examples/quickcontrols2/imagine/automotive/qtquickcontrols2.conf +++ b/examples/quickcontrols2/imagine/automotive/qtquickcontrols2.conf @@ -2,7 +2,7 @@ Style=Imagine [Imagine] -Path=qrc:/imagine-assets +Path=:/imagine-assets [Imagine\Palette] Text=#6affcd diff --git a/examples/quickcontrols2/imagine/musicplayer/qtquickcontrols2.conf b/examples/quickcontrols2/imagine/musicplayer/qtquickcontrols2.conf index 2fc304eb..33eab6a5 100644 --- a/examples/quickcontrols2/imagine/musicplayer/qtquickcontrols2.conf +++ b/examples/quickcontrols2/imagine/musicplayer/qtquickcontrols2.conf @@ -2,7 +2,7 @@ Style=Imagine [Imagine] -Path=qrc:/imagine-assets +Path=:/imagine-assets [Imagine\Palette] Text=#6b7b89 |