mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
format
This commit is contained in:
parent
f779f639da
commit
f71ea7d26d
1 changed files with 2 additions and 4 deletions
|
|
@ -943,8 +943,7 @@ void MainWindow::startupConfigCheck()
|
|||
|
||||
if (SettingsCache::instance().getCheckUpdatesOnStartup()) {
|
||||
if (QString(VERSION_STRING).contains("custom", Qt::CaseInsensitive)) {
|
||||
qCInfo(WindowMainStartupShortcutsLog)
|
||||
<< "Update has changed to custom version, disabling auto update";
|
||||
qCInfo(WindowMainStartupShortcutsLog) << "Update has changed to custom version, disabling auto update";
|
||||
SettingsCache::instance().setCheckUpdatesOnStartup(Qt::Unchecked);
|
||||
} else {
|
||||
int channel = 0;
|
||||
|
|
@ -952,8 +951,7 @@ void MainWindow::startupConfigCheck()
|
|||
channel = 1;
|
||||
}
|
||||
if (SettingsCache::instance().getUpdateReleaseChannelIndex() != channel) {
|
||||
qCInfo(WindowMainStartupShortcutsLog)
|
||||
<< "Update has changed beta state, updating release channel.";
|
||||
qCInfo(WindowMainStartupShortcutsLog) << "Update has changed beta state, updating release channel.";
|
||||
SettingsCache::instance().setUpdateReleaseChannelIndex(channel);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue