|
@ -971,7 +971,7 @@ void RPC::checkForUpdate(bool silent) { |
|
|
if (conn == nullptr) |
|
|
if (conn == nullptr) |
|
|
return noConnection(); |
|
|
return noConnection(); |
|
|
|
|
|
|
|
|
QUrl cmcURL("https://api.github.com/repos/ZcashFoundation/zecwallet/releases"); |
|
|
QUrl cmcURL("https://api.github.com/repos/radix42/SevenSeas/releases"); |
|
|
|
|
|
|
|
|
QNetworkRequest req; |
|
|
QNetworkRequest req; |
|
|
req.setUrl(cmcURL); |
|
|
req.setUrl(cmcURL); |
|
@ -1017,7 +1017,7 @@ void RPC::checkForUpdate(bool silent) { |
|
|
.arg(currentVersion.toString()), |
|
|
.arg(currentVersion.toString()), |
|
|
QMessageBox::Yes, QMessageBox::Cancel); |
|
|
QMessageBox::Yes, QMessageBox::Cancel); |
|
|
if (ans == QMessageBox::Yes) { |
|
|
if (ans == QMessageBox::Yes) { |
|
|
QDesktopServices::openUrl(QUrl("https://github.com/ZcashFoundation/zecwallet/releases")); |
|
|
QDesktopServices::openUrl(QUrl("https://github.com/radix42/SevenSeas/releases")); |
|
|
} else { |
|
|
} else { |
|
|
// If the user selects cancel, don't bother them again for this version
|
|
|
// If the user selects cancel, don't bother them again for this version
|
|
|
s.setValue("update/lastversion", maxVersion.toString()); |
|
|
s.setValue("update/lastversion", maxVersion.toString()); |
|
|