From d42b7f55c4e0aea004a2ba7ba135c173f3615290 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 5 Mar 2016 12:53:38 -0800 Subject: Introduce separate version number for Subsurface-mobile This is hard coded in version.cmake for now. The intent is to go to 1.0 in the first release version and to increment from there whenever we create an update. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-mobile') diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 94344f9f3..6851ec079 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -936,7 +936,7 @@ QString QMLManager::getDate(const QString& diveId) QString QMLManager::getVersion() const { - QRegExp versionRe(".*:([\\.,\\d]+).*"); + QRegExp versionRe(".*:([()\\.,\\d]+).*"); if (!versionRe.exactMatch(getUserAgent())) return QString(); -- cgit v1.2.3-70-g09d2