diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-04-25 17:05:57 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-04-26 07:34:19 +0000 |
commit | 86f546dc658106eab9ef489b5473a5407ff8c3c0 (patch) | |
tree | ed473cb9f016d9716b3bc38a93d30787d33d3351 /tests/auto/qquickiconimage/resources.qrc | |
parent | 8b9f4364ba05c51ba4a0d8edcd53ea411824a590 (diff) |
QQuickIconImage: fix file selectors for named theme icons
QQuickIconImage needs to be associated with a QML context to be able
to call QQmlContext::resolvedUrl(), which in turn passes it to the URL
interceptor aka. QQmlFileSelector.
Change-Id: Iff34fb8316c765ac0ff04d5d7a6ab23002b31385
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qquickiconimage/resources.qrc')
-rw-r--r-- | tests/auto/qquickiconimage/resources.qrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qquickiconimage/resources.qrc b/tests/auto/qquickiconimage/resources.qrc index 76757d4e..6558b039 100644 --- a/tests/auto/qquickiconimage/resources.qrc +++ b/tests/auto/qquickiconimage/resources.qrc @@ -4,6 +4,9 @@ <file>icons/testtheme/22x22/actions/appointment-new.png</file> <file>icons/testtheme/22x22/actions/appointment-new@2x.png</file> <file>icons/testtheme/22x22@2/actions/appointment-new.png</file> + <file>icons/testtheme/22x22/actions/+testselector/appointment-new.png</file> + <file>icons/testtheme/22x22/actions/+testselector/appointment-new@2x.png</file> + <file>icons/testtheme/22x22@2/actions/+testselector/appointment-new.png</file> <file>icons/testtheme/index.theme</file> <file>icons/testtheme/appointment-new.svg</file> <file>icons/testtheme/22x22/actions/color-test-original.png</file> |