diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-02 07:02:44 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-02 07:02:44 -0500 |
commit | f677d482e9db6f4d566eac40909bb7c8f01fafd7 (patch) | |
tree | c05b293cb1f2bdde79d348fb5d7b076d96c436b9 /qt-mobile/qmlmanager.cpp | |
parent | 7e47874adb88bf3ce318fa8331ded19d9f868da4 (diff) | |
download | subsurface-f677d482e9db6f4d566eac40909bb7c8f01fafd7.tar.gz |
QML UI: don't go through manager object to open user manual
We can open URLs in the browser directly from QML.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 301a02ce1..a3506ce4d 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -969,13 +969,6 @@ void QMLManager::showMap(const QString& location) } } -#define MOBILEUSERMANUAL QUrl(QLatin1Literal("https://subsurface-divelog.org/documentation/subsurface-mobile-user-manual/")) - -void QMLManager::showUserManual() -{ - QDesktopServices::openUrl(MOBILEUSERMANUAL); -} - // where in the QML dive list is that dive? int QMLManager::getIndex(const QString &diveId) { |