Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -358,7 +358,7 @@ void TabletProxy::pushOntoStack(const QVariant& path) { · 357 unmodified lines | |||
| 358 | if (stack) { | 358 | if (stack) { |
| 359 | QMetaObject::invokeMethod(stack, "pushSource", Q_ARG(const QVariant&, path)); | 359 | QMetaObject::invokeMethod(stack, "pushSource", Q_ARG(const QVariant&, path)); |
| 360 | } else { | 360 | } else { |
| 361 | qCDebug(scriptengine) << "tablet cannot push QML because _qmlTabletRoot doesn't have child stack"; | 361 | loadQMLSource(path); |
| 362 | } | 362 | } |
| 363 | } else if (_desktopWindow) { | 363 | } else if (_desktopWindow) { |
| 364 | auto stack = _desktopWindow->asQuickItem()->findChild<QQuickItem*>("stack"); | 364 | auto stack = _desktopWindow->asQuickItem()->findChild<QQuickItem*>("stack"); |