History

tabletFocus update

Dante Ruiz committed 9 years ago

Commit 9a61b601 parent d3fa7657 files · +81 −61Browse files

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

Unified · Split

libraries/script-engine/src/TabletScriptingInterface.cpp+2−1
@@ -215,8 +215,9 @@ void TabletProxy::addButtonsToHomeScreen() { · 214 unmodified lines
215215 addButtonProxyToQmlTablet(tablet, buttonProxy.data());
216216 }
217217 auto loader = _qmlTabletRoot->findChild<QQuickItem*>("loader");
218− QObject::disconnect(loader, SIGNAL(loaded()), this, SLOT(addButtonsToHomeScreen()));
219218 QMetaObject::invokeMethod(_qmlTabletRoot, "forceFocus");
219+ qDebug() << "----> INVOKEMETHOD";
220+ QObject::disconnect(loader, SIGNAL(loaded()), this, SLOT(addButtonsToHomeScreen()));
220221 }
221222
222223 QObject* TabletProxy::getTabletSurface() {