Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -134,7 +134,8 @@ void WindowScriptingInterface::openUrl(const QUrl& url) { · 133 unmodified lines | |||
| 134 | DependencyManager::get<AddressManager>()->handleLookupString(url.toString()); | 134 | DependencyManager::get<AddressManager>()->handleLookupString(url.toString()); |
| 135 | } else { | 135 | } else { |
| 136 | #if defined(Q_OS_ANDROID) | 136 | #if defined(Q_OS_ANDROID) |
| 137 | QList<QString> args = { url.toString() }; | 137 | QMap<QString, QString> args; |
| 138 | args["url"] = url.toString(); | ||
| 138 | AndroidHelper::instance().requestActivity("WebView", true, args); | 139 | AndroidHelper::instance().requestActivity("WebView", true, args); |
| 139 | #else | 140 | #else |
| 140 | // address manager did not handle - ask QDesktopServices to handle | 141 | // address manager did not handle - ask QDesktopServices to handle |