diff options
author | Dalton Durst <dalton@ubports.com> | 2021-12-23 16:20:35 -0600 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-01 07:56:48 +0100 |
commit | 02c973a4dc7d9980a0ea5a2993cb0ba08cb35857 (patch) | |
tree | 89ebf7e2b7def87a054953cad02d81d11b9a9bc4 /tests | |
parent | cc2c2d9a64b28cd0a73fad3d11f1e3ab2cb5aefa (diff) | |
download | qmenumodel-02c973a4dc7d9980a0ea5a2993cb0ba08cb35857.tar.gz qmenumodel-02c973a4dc7d9980a0ea5a2993cb0ba08cb35857.tar.bz2 qmenumodel-02c973a4dc7d9980a0ea5a2993cb0ba08cb35857.zip |
Fix versioning in examples and tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client/loadmodel.qml | 5 | ||||
-rw-r--r-- | tests/client/loadmodel2.qml | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/client/loadmodel.qml b/tests/client/loadmodel.qml index fcdb4ba..f51a183 100644 --- a/tests/client/loadmodel.qml +++ b/tests/client/loadmodel.qml @@ -18,7 +18,7 @@ */ import QtQuick 2.0 -import QMenuModel 0.1 +import QMenuModel 1.0 Item { id: root @@ -44,9 +44,8 @@ Item { Component.onCompleted: { // dynamically create the model to destroy it later - var model = Qt.createQmlObject("import QMenuModel 0.1; QDBusMenuModel { id: menuModel; busType: globalBusType; busName: globalBusName; objectPath: globalObjectPath; }", view, ""); + var model = Qt.createQmlObject("import QMenuModel 1.0; QDBusMenuModel { id: menuModel; busType: globalBusType; busName: globalBusName; objectPath: globalObjectPath; }", view, ""); model.start(); view.model = model; } } - diff --git a/tests/client/loadmodel2.qml b/tests/client/loadmodel2.qml index 4e283bb..5d1f43b 100644 --- a/tests/client/loadmodel2.qml +++ b/tests/client/loadmodel2.qml @@ -18,7 +18,7 @@ */ import QtQuick 2.0 -import QMenuModel 0.1 +import QMenuModel 1.0 Item { width: 100 @@ -38,4 +38,3 @@ Item { Component.onCompleted: menuModel.start() } - |