Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -393,7 +393,7 @@ void TabletProxy::popFromStack() { · 392 unmodified lines | |||
| 393 | } | 393 | } |
| 394 | 394 | ||
| 395 | void TabletProxy::loadHomeScreen(bool forceOntoHomeScreen) { | 395 | void TabletProxy::loadHomeScreen(bool forceOntoHomeScreen) { |
| 396 | if (_state != State::Home && ( _state != State::Uninitialized || forceOntoHomeScreen)) { | 396 | if ((_state != State::Home && _state != State::Uninitialized) || forceOntoHomeScreen) { |
| 397 | if (!_toolbarMode && _qmlTabletRoot) { | 397 | if (!_toolbarMode && _qmlTabletRoot) { |
| 398 | auto loader = _qmlTabletRoot->findChild<QQuickItem*>("loader"); | 398 | auto loader = _qmlTabletRoot->findChild<QQuickItem*>("loader"); |
| 399 | QObject::connect(loader, SIGNAL(loaded()), this, SLOT(addButtonsToHomeScreen()), Qt::DirectConnection); | 399 | QObject::connect(loader, SIGNAL(loaded()), this, SLOT(addButtonsToHomeScreen()), Qt::DirectConnection); |