History

Bug fix for TabletProxy::loadQMLSource()

Anthony J. Thibault committed 9 years ago

Commit b3a46c31 parent c2b832f1 file · +1 −0Browse files

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

Unified · Split

libraries/script-engine/src/TabletScriptingInterface.cpp+1−0
@@ -229,6 +229,7 @@ void TabletProxy::gotoMenuScreen() { · 228 unmodified lines
229void TabletProxy::loadQMLSource(const QVariant& path) {229void TabletProxy::loadQMLSource(const QVariant& path) {
230 if (_qmlTabletRoot) {230 if (_qmlTabletRoot) {
231 if (_state != State::QML) {231 if (_state != State::QML) {
232 removeButtonsFromHomeScreen();
232 QMetaObject::invokeMethod(_qmlTabletRoot, "loadSource", Q_ARG(const QVariant&, path));233 QMetaObject::invokeMethod(_qmlTabletRoot, "loadSource", Q_ARG(const QVariant&, path));
233 _state = State::QML;234 _state = State::QML;
234 emit screenChanged(QVariant("QML"), path);235 emit screenChanged(QVariant("QML"), path);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t