aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/main.qml2
-rw-r--r--qt-mobile/qmlmanager.cpp7
-rw-r--r--qt-mobile/qmlmanager.h1
3 files changed, 1 insertions, 9 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 76696ba1e..9365052a8 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -205,7 +205,7 @@ Kirigami.ApplicationWindow {
Kirigami.Action {
text: "User manual"
onTriggered: {
- manager.showUserManual()
+ Qt.openUrlExternally("https://subsurface-divelog.org/documentation/subsurface-mobile-user-manual/")
}
},
Kirigami.Action {
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)
{
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h
index 2113a1dfe..de04156f5 100644
--- a/qt-mobile/qmlmanager.h
+++ b/qt-mobile/qmlmanager.h
@@ -104,7 +104,6 @@ public slots:
void finishSetup();
void openLocalThenRemote(QString url);
void showMap(const QString& location);
- void showUserManual();
int getIndex(const QString& diveId);
QString getNumber(const QString& diveId);
QString getDate(const QString& diveId);