History

comparing with ID instead of strings

Dante Ruiz committed 9 years ago

Commit 1e7e4571 parent fc8b09d6 files · +57 −22Browse files

Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

libraries/script-engine/src/TabletScriptingInterface.cpp+1−0
@@ -196,6 +196,7 @@ void TabletProxy::gotoHomeScreen() { · 195 unmodified lines
196 auto loader = _qmlTabletRoot->findChild<QQuickItem*>("loader");196 auto loader = _qmlTabletRoot->findChild<QQuickItem*>("loader");
197 QObject::connect(loader, SIGNAL(loaded()), this, SLOT(addButtonsToHomeScreen()));197 QObject::connect(loader, SIGNAL(loaded()), this, SLOT(addButtonsToHomeScreen()));
198 QMetaObject::invokeMethod(_qmlTabletRoot, "loadSource", Q_ARG(const QVariant&, QVariant(TABLET_SOURCE_URL)));198 QMetaObject::invokeMethod(_qmlTabletRoot, "loadSource", Q_ARG(const QVariant&, QVariant(TABLET_SOURCE_URL)));
199 QMetaObject::invokeMethod(_qmlTabletRoot, "playButtonClickSound");
199 _state = State::Home;200 _state = State::Home;
200 }201 }
201 }202 }