mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 18:42:58 +02:00
Don't display update dialog if this is a PR build
This commit is contained in:
parent
faea97d3c7
commit
9440546619
1 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,9 @@ void AutoUpdater::parseLatestVersionData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoUpdater::checkVersionAndNotify() {
|
void AutoUpdater::checkVersionAndNotify() {
|
||||||
if (QCoreApplication::applicationVersion() == "dev" || _builds.empty()) {
|
if (QCoreApplication::applicationVersion() == "dev" ||
|
||||||
|
QCoreApplication::applicationVersion().contains("PR") ||
|
||||||
|
_builds.empty()) {
|
||||||
// No version checking is required in dev builds or when no build
|
// No version checking is required in dev builds or when no build
|
||||||
// data was found for the platform
|
// data was found for the platform
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue