From d8ca04626589221c5f7c178e882cfaa4c095ce2a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 10 Jul 2015 13:28:28 -0700 Subject: Don't show the update messages in the mobile app Android provides update notifications already. Signed-off-by: Dirk Hohndel --- qt-ui/updatemanager.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 } -- cgit v1.2.3-70-g09d2