summaryrefslogtreecommitdiffstats
path: root/qt-ui/updatemanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-10 13:28:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-10 13:28:28 -0700
commitd8ca04626589221c5f7c178e882cfaa4c095ce2a (patch)
tree864d512f4f748e064c920bfff1e48927970d3cf8 /qt-ui/updatemanager.cpp
parentc2e1158cf72ce68ec6ab1ab8c67bc58ce4c5ed07 (diff)
downloadsubsurface-d8ca04626589221c5f7c178e882cfaa4c095ce2a.tar.gz
Don't show the update messages in the mobile app
Android provides update notifications already. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/updatemanager.cpp')
-rw-r--r--qt-ui/updatemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp
index e634a6bc9..69a5ada41 100644
--- a/qt-ui/updatemanager.cpp
+++ b/qt-ui/updatemanager.cpp
@@ -123,6 +123,7 @@ void UpdateManager::requestReceived()
msgbox.setIcon(QMessageBox::Warning);
}
}
+#ifndef SUBSURFACE_MOBILE
if (haveNewVersion || !isAutomaticCheck) {
msgbox.setWindowTitle(msgTitle);
msgbox.setWindowIcon(QIcon(":/subsurface-icon"));
@@ -150,4 +151,5 @@ void UpdateManager::requestReceived()
settings.setValue("DontCheckForUpdates", "TRUE");
}
}
+#endif
}