mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 21:40: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.
|
// release is published, do not auto-check or run upstream Cockatrice updates.
|
||||||
SettingsCache::instance().updates().setCheckUpdatesOnStartup(false);
|
SettingsCache::instance().updates().setCheckUpdatesOnStartup(false);
|
||||||
|
|
||||||
actCheckCommanderBracketDefinitionUpdates();
|
// No MTG Commander-bracket network requests in Continuumatrice.
|
||||||
|
|
||||||
if (isCleanInstall) {
|
if (isCleanInstall) {
|
||||||
// no config found, 99% new clean install
|
// no config found, 99% new clean install
|
||||||
qCInfo(WindowMainStartupVersionLog)
|
qCInfo(WindowMainStartupVersionLog)
|
||||||
|
|
@ -1469,9 +1468,8 @@ void MainWindow::notifyCardUpdateFinishedFromTray(bool success)
|
||||||
|
|
||||||
void MainWindow::actCheckServerUpdates()
|
void MainWindow::actCheckServerUpdates()
|
||||||
{
|
{
|
||||||
auto hps = new HandlePublicServers(this);
|
// Upstream Cockatrice public servers are not Continuumatrice game servers.
|
||||||
hps->downloadPublicServers();
|
qCInfo(MainWindowLog) << "Upstream public server discovery disabled in Continuumatrice.";
|
||||||
connect(hps, &HandlePublicServers::sigPublicServersDownloadedSuccessfully, [=]() { hps->deleteLater(); });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::actCheckClientUpdates()
|
void MainWindow::actCheckClientUpdates()
|
||||||
|
|
@ -1491,12 +1489,8 @@ void MainWindow::checkClientUpdatesFinished(bool needToUpdate, bool /* isCompati
|
||||||
|
|
||||||
void MainWindow::actCheckCommanderBracketDefinitionUpdates()
|
void MainWindow::actCheckCommanderBracketDefinitionUpdates()
|
||||||
{
|
{
|
||||||
auto *handler = new HandleCommanderBrackets(this);
|
// Commander brackets are a Magic: The Gathering system, not Continuum Universes.
|
||||||
|
qCInfo(MainWindowLog) << "Upstream Commander bracket updates disabled in Continuumatrice.";
|
||||||
connect(handler, &HandleCommanderBrackets::sigBracketDefinitionsDownloaded, this,
|
|
||||||
[]() { qDebug() << "Bracket definitions loaded"; });
|
|
||||||
|
|
||||||
handler->downloadBracketDefinitions();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::refreshShortcuts()
|
void MainWindow::refreshShortcuts()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue