mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
Change default log level to info (#5779)
* update qtlogging.ini * bump some qCDebug to qCInfo and qCWarning
This commit is contained in:
parent
2fcdb52157
commit
d662152088
30 changed files with 117 additions and 113 deletions
|
|
@ -209,8 +209,8 @@ QString GeneralSettingsPage::languageName(const QString &lang)
|
|||
QString appNameHint = translationPrefix + "_" + lang;
|
||||
bool appTranslationLoaded = qTranslator.load(appNameHint, translationPath);
|
||||
if (!appTranslationLoaded) {
|
||||
qCDebug(DlgSettingsLog) << "Unable to load" << translationPrefix << "translation" << appNameHint << "at"
|
||||
<< translationPath;
|
||||
qCWarning(DlgSettingsLog) << "Unable to load" << translationPrefix << "translation" << appNameHint << "at"
|
||||
<< translationPath;
|
||||
}
|
||||
|
||||
return qTranslator.translate("i18n", DEFAULT_LANG_NAME);
|
||||
|
|
@ -1615,7 +1615,7 @@ void DlgSettings::closeEvent(QCloseEvent *event)
|
|||
bool showLoadError = true;
|
||||
QString loadErrorMessage = tr("Unknown Error loading card database");
|
||||
LoadStatus loadStatus = CardDatabaseManager::getInstance()->getLoadStatus();
|
||||
qCDebug(DlgSettingsLog) << "Card Database load status: " << loadStatus;
|
||||
qCInfo(DlgSettingsLog) << "Card Database load status: " << loadStatus;
|
||||
switch (loadStatus) {
|
||||
case Ok:
|
||||
showLoadError = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue