mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Support native Continuumatrice XML4 card databases and remove MTG server metadata fetching
This commit is contained in:
parent
d3f3798135
commit
3a96569a0f
1 changed files with 5 additions and 11 deletions
|
|
@ -650,8 +650,7 @@ void MainWindow::startupConfigCheck()
|
|||
// release is published, do not auto-check or run upstream Cockatrice updates.
|
||||
SettingsCache::instance().updates().setCheckUpdatesOnStartup(false);
|
||||
|
||||
actCheckCommanderBracketDefinitionUpdates();
|
||||
|
||||
// No MTG Commander-bracket network requests in Continuumatrice.
|
||||
if (isCleanInstall) {
|
||||
// no config found, 99% new clean install
|
||||
qCInfo(WindowMainStartupVersionLog)
|
||||
|
|
@ -1469,9 +1468,8 @@ void MainWindow::notifyCardUpdateFinishedFromTray(bool success)
|
|||
|
||||
void MainWindow::actCheckServerUpdates()
|
||||
{
|
||||
auto hps = new HandlePublicServers(this);
|
||||
hps->downloadPublicServers();
|
||||
connect(hps, &HandlePublicServers::sigPublicServersDownloadedSuccessfully, [=]() { hps->deleteLater(); });
|
||||
// Upstream Cockatrice public servers are not Continuumatrice game servers.
|
||||
qCInfo(MainWindowLog) << "Upstream public server discovery disabled in Continuumatrice.";
|
||||
}
|
||||
|
||||
void MainWindow::actCheckClientUpdates()
|
||||
|
|
@ -1491,12 +1489,8 @@ void MainWindow::checkClientUpdatesFinished(bool needToUpdate, bool /* isCompati
|
|||
|
||||
void MainWindow::actCheckCommanderBracketDefinitionUpdates()
|
||||
{
|
||||
auto *handler = new HandleCommanderBrackets(this);
|
||||
|
||||
connect(handler, &HandleCommanderBrackets::sigBracketDefinitionsDownloaded, this,
|
||||
[]() { qDebug() << "Bracket definitions loaded"; });
|
||||
|
||||
handler->downloadBracketDefinitions();
|
||||
// Commander brackets are a Magic: The Gathering system, not Continuum Universes.
|
||||
qCInfo(MainWindowLog) << "Upstream Commander bracket updates disabled in Continuumatrice.";
|
||||
}
|
||||
|
||||
void MainWindow::refreshShortcuts()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue