Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 188 files). Show all
Unified · Split
| @@ -30,7 +30,6 @@ · 29 unmodified lines | |||
| 30 | #include "MainWindow.h" | 30 | #include "MainWindow.h" |
| 31 | #include "Menu.h" | 31 | #include "Menu.h" |
| 32 | #include "OffscreenUi.h" | 32 | #include "OffscreenUi.h" |
| 33 | #include "commerce/QmlCommerce.h" | ||
| 34 | #include "NetworkingConstants.h" | 33 | #include "NetworkingConstants.h" |
| 35 | 34 | ||
| 36 | static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); | 35 | static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); |
| @@ -147,8 +146,6 @@ void WindowScriptingInterface::openUrl(const QUrl& url) { · 110 unmodified lines | |||
| 147 | auto scheme = url.scheme(); | 146 | auto scheme = url.scheme(); |
| 148 | if (scheme == URL_SCHEME_OVERTE) { | 147 | if (scheme == URL_SCHEME_OVERTE) { |
| 149 | DependencyManager::get<AddressManager>()->handleLookupString(url.toString()); | 148 | DependencyManager::get<AddressManager>()->handleLookupString(url.toString()); |
| 150 | } else if (scheme == URL_SCHEME_OVERTEAPP) { | ||
| 151 | DependencyManager::get<QmlCommerce>()->openSystemApp(url.path()); | ||
| 152 | } else { | 149 | } else { |
| 153 | #if defined(Q_OS_ANDROID) | 150 | #if defined(Q_OS_ANDROID) |
| 154 | QMap<QString, QString> args; | 151 | QMap<QString, QString> args; |