mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
Change stable channel downloads to use only github api and links (#2515)
* Change stable channel downloads to use only github api and links Ref #2502
This commit is contained in:
parent
3374576831
commit
6f30304271
3 changed files with 50 additions and 62 deletions
|
|
@ -167,6 +167,7 @@ void DlgUpdate::downloadSuccessful(QUrl filepath) {
|
|||
if (QDesktopServices::openUrl(filepath))
|
||||
{
|
||||
QMetaObject::invokeMethod((MainWindow*) parent(), "close", Qt::QueuedConnection);
|
||||
qDebug() << "Opened downloaded update file successfully - closing Cockatrice";
|
||||
close();
|
||||
} else {
|
||||
setLabel(tr("Error"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue