mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:33:24 +00:00
Don't show the update messages in the mobile app
Android provides update notifications already. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c2e1158cf7
commit
d8ca046265
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,7 @@ void UpdateManager::requestReceived()
|
||||||
msgbox.setIcon(QMessageBox::Warning);
|
msgbox.setIcon(QMessageBox::Warning);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifndef SUBSURFACE_MOBILE
|
||||||
if (haveNewVersion || !isAutomaticCheck) {
|
if (haveNewVersion || !isAutomaticCheck) {
|
||||||
msgbox.setWindowTitle(msgTitle);
|
msgbox.setWindowTitle(msgTitle);
|
||||||
msgbox.setWindowIcon(QIcon(":/subsurface-icon"));
|
msgbox.setWindowIcon(QIcon(":/subsurface-icon"));
|
||||||
|
@ -150,4 +151,5 @@ void UpdateManager::requestReceived()
|
||||||
settings.setValue("DontCheckForUpdates", "TRUE");
|
settings.setValue("DontCheckForUpdates", "TRUE");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue