Skip to content

Commit

Permalink
networktool: Does not notify if the newer test version is the same on…
Browse files Browse the repository at this point in the history
…e running

Fix #345

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Nov 30, 2018
1 parent b609d1d commit 0b8cadd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/network/networktool.cpp
Expand Up @@ -106,7 +106,8 @@ void NetworkTool::checkNewVersionInGitHubPayload(const QJsonDocument& jsonDocume
return;
}

if(actualVersion < 0) {
// If it's running a test release and this is not the last available
if(actualVersion < 0 && projectTag != lastReleaseAvailable.versionString) {
NotificationManager::self()->create(
"This isn't a release!\n\rPlease download a release version.", "red", StyleManager::reportIcon());
}
Expand Down

0 comments on commit 0b8cadd

Please sign in to comment.