Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -508,7 +508,7 @@ void TabletProxy::gotoWebScreen(const QString& url, const QString& injectedJavaS · 507 unmodified lines | ||
| 508 | 508 | |
| 509 | 509 | if (root) { |
| 510 | 510 | removeButtonsFromHomeScreen(); |
| 511 | − QMetaObject::invokeMethod(root, "loadSource", Q_ARG(const QVariant&, QVariant(WEB_VIEW_SOURCE_URL))); | |
| 511 | + QMetaObject::invokeMethod(root, "loadWebBase"); | |
| 512 | 512 | QMetaObject::invokeMethod(root, "setShown", Q_ARG(const QVariant&, QVariant(true))); |
| 513 | 513 | QMetaObject::invokeMethod(root, "loadWebUrl", Q_ARG(const QVariant&, QVariant(url)), Q_ARG(const QVariant&, QVariant(injectedJavaScriptUrl))); |
| 514 | 514 | } |