aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls/data/tst_itemdelegate.qml
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-08-26 14:03:42 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-08-26 14:03:42 +0200
commit2a054d48ef5a412d104aff0389bcaa69ba2c9878 (patch)
tree953847f836611a0b2225f2fe62808623538a9ca8 /tests/auto/controls/data/tst_itemdelegate.qml
parent2812d380e5999733aaaf2ace2bdbd0702ce293dc (diff)
parentf51b569219f4fe9ee196c92958bb5dc9f3810678 (diff)
Merge branch 'dev' into nativestyle
Diffstat (limited to 'tests/auto/controls/data/tst_itemdelegate.qml')
-rw-r--r--tests/auto/controls/data/tst_itemdelegate.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/controls/data/tst_itemdelegate.qml b/tests/auto/controls/data/tst_itemdelegate.qml
index 1c236361..6a4b29b4 100644
--- a/tests/auto/controls/data/tst_itemdelegate.qml
+++ b/tests/auto/controls/data/tst_itemdelegate.qml
@@ -48,9 +48,9 @@
**
****************************************************************************/
-import QtQuick 2.12
-import QtTest 1.0
-import QtQuick.Controls 2.12
+import QtQuick
+import QtTest
+import QtQuick.Controls
TestCase {
id: testCase
@@ -118,11 +118,11 @@ TestCase {
text: "ItemDelegate",
display: data.display,
width: 400,
- "icon.source": "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png",
+ "icon.source": "qrc:/qt-project.org/imports/QtQuick/Controls/Default/images/check.png",
"LayoutMirroring.enabled": !!data.mirrored
})
verify(control)
- compare(control.icon.source, "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png")
+ compare(control.icon.source, "qrc:/qt-project.org/imports/QtQuick/Controls/Default/images/check.png")
var iconImage = findChild(control.contentItem, "image")
var textLabel = findChild(control.contentItem, "label")