Don't display update dialog if this is a PR build

This commit is contained in:
Leonardo Murillo 2015-07-02 14:17:36 -06:00
parent faea97d3c7
commit 9440546619

View file

@ -104,7 +104,9 @@ void AutoUpdater::parseLatestVersionData() {
}
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
// data was found for the platform
return;