Ignore hidden version while checking update from menu
This commit is contained in:
@@ -88,8 +88,7 @@ void RPC::setConnection(Connection* c) {
|
|||||||
ui->statusBar->showMessage("Ready!");
|
ui->statusBar->showMessage("Ready!");
|
||||||
|
|
||||||
refreshZECPrice();
|
refreshZECPrice();
|
||||||
// Commented for Android beta.
|
checkForUpdate();
|
||||||
// checkForUpdate();
|
|
||||||
|
|
||||||
// Force update, because this might be coming from a settings update
|
// Force update, because this might be coming from a settings update
|
||||||
// where we need to immediately refresh
|
// where we need to immediately refresh
|
||||||
@@ -996,7 +995,7 @@ void RPC::checkForUpdate(bool silent) {
|
|||||||
|
|
||||||
qDebug() << "Version check: Current " << currentVersion << ", Available " << maxVersion;
|
qDebug() << "Version check: Current " << currentVersion << ", Available " << maxVersion;
|
||||||
|
|
||||||
if (maxVersion > currentVersion && maxVersion > maxHiddenVersion) {
|
if (maxVersion > currentVersion && (!silent || maxVersion > maxHiddenVersion)) {
|
||||||
auto ans = QMessageBox::information(main, QObject::tr("Update Available"),
|
auto ans = QMessageBox::information(main, QObject::tr("Update Available"),
|
||||||
QObject::tr("A new release v%1 is available! You have v%2.\n\nWould you like to visit the releases page?")
|
QObject::tr("A new release v%1 is available! You have v%2.\n\nWould you like to visit the releases page?")
|
||||||
.arg(maxVersion.toString())
|
.arg(maxVersion.toString())
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define APP_VERSION "0.6.1"
|
#define APP_VERSION "0.6.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user