summaryrefslogtreecommitdiff
path: root/tests/auto/controls/data/tst_layout.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/controls/data/tst_layout.qml')
-rw-r--r--tests/auto/controls/data/tst_layout.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_layout.qml b/tests/auto/controls/data/tst_layout.qml
index 8ce582db..eac90942 100644
--- a/tests/auto/controls/data/tst_layout.qml
+++ b/tests/auto/controls/data/tst_layout.qml
@@ -38,7 +38,7 @@
**
****************************************************************************/
-import QtQuick 2.1
+import QtQuick 2.2
import QtTest 1.0
TestCase {
@@ -50,7 +50,7 @@ TestCase {
function test_invalidParent() {
ignoreWarning('Layout must be attached to Item elements')
- var object = Qt.createQmlObject('import QtQuick 2.1; import QtQuick.Layouts 1.0; QtObject { Layout.fillWidth: true }', testCase, '');
+ var object = Qt.createQmlObject('import QtQuick 2.2; import QtQuick.Layouts 1.0; QtObject { Layout.fillWidth: true }', testCase, '');
object.destroy()
}
}