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>
This commit is contained in:
Dirk Hohndel 2016-04-02 07:02:44 -05:00
parent 7e47874adb
commit f677d482e9
3 changed files with 1 additions and 9 deletions

View file

@ -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)
{