diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-13 11:13:04 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-13 11:13:04 -0700 |
commit | 8dcb6fa25cc9a1e9227181d2e6e3908f0d99cc75 (patch) | |
tree | 5e7d7b1a99f6829f72a8b3cd649d5f50b995c4b6 /qt-mobile/qmlmanager.cpp | |
parent | 087cda05e624e0c6e053ec03d749bbba08b31d74 (diff) | |
download | subsurface-8dcb6fa25cc9a1e9227181d2e6e3908f0d99cc75.tar.gz |
QML UI: show user manual in browser window
This is so obvious... and I know others asked for this before. Should
definitely have been in the first version...
Fixes #1026
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, 7 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 8de52cb81..5b47efbd0 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -986,6 +986,13 @@ 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) { |