mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
parent
f9a025081a
commit
2817f54c96
3 changed files with 12 additions and 5 deletions
|
|
@ -108,12 +108,13 @@ void DlgUpdate::finishedUpdateCheck(bool needToUpdate, bool isCompatible, Releas
|
|||
//If there's no need to update, tell them that. However we still allow them to run the
|
||||
//downloader themselves if there's a compatible build
|
||||
QMessageBox::information(this, tr("Cockatrice Update"), tr("Your version of Cockatrice is up to date."));
|
||||
return;
|
||||
}
|
||||
|
||||
publishDate = release->getPublishDate().toString(Qt::DefaultLocaleLongDate);
|
||||
if (isCompatible) {
|
||||
//If there is an update, save its URL and work out its name
|
||||
updateUrl = release->getDownloadUrl();
|
||||
publishDate = release->getPublishDate().toString(Qt::DefaultLocaleLongDate);
|
||||
|
||||
QMessageBox::StandardButton reply;
|
||||
reply = QMessageBox::question(this, "Update Available",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue