mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -07:00
Uncomment defaults, include main category.
This commit is contained in:
parent
67b2944078
commit
530fdb48d0
3 changed files with 12 additions and 12 deletions
|
|
@ -1,13 +1,13 @@
|
|||
[Rules]
|
||||
# Uncomment a rule to disable logging for that category
|
||||
|
||||
# main = false
|
||||
# qt_translator = false
|
||||
|
||||
window_main.* = false
|
||||
release_channel = false
|
||||
spoiler_background_updater = false
|
||||
theme_manager = false
|
||||
sound_engine = false
|
||||
# window_main.* = false
|
||||
# release_channel = false
|
||||
# spoiler_background_updater = false
|
||||
# theme_manager = false
|
||||
# sound_engine = false
|
||||
# tapped_out_interface = false
|
||||
|
||||
# tab_game = false
|
||||
|
|
@ -31,14 +31,13 @@ sound_engine = false
|
|||
|
||||
# user_info_connection = false
|
||||
|
||||
picture_loader.* = false
|
||||
# picture_loader = false
|
||||
# picture_loader.worker = false
|
||||
# deck_loader = false
|
||||
# card_database = false
|
||||
card_database.loading = false
|
||||
# card_database.loading = false
|
||||
# card_database.loading.success_or_failure = false
|
||||
cockatrice_xml.* = false
|
||||
# cockatrice_xml.* = false
|
||||
# cockatrice_xml.xml_3_parser = false
|
||||
# cockatrice_xml.xml_4_parser = false
|
||||
# set_list = false
|
||||
|
|
|
|||
|
|
@ -194,13 +194,13 @@ int main(int argc, char *argv[])
|
|||
|
||||
QLocale::setDefault(QLocale::English);
|
||||
|
||||
qDebug("main(): starting main program");
|
||||
qCDebug(MainLog) << "main(): starting main program";
|
||||
|
||||
MainWindow ui;
|
||||
if (parser.isSet("connect")) {
|
||||
ui.setConnectTo(parser.value("connect"));
|
||||
}
|
||||
qDebug("main(): MainWindow constructor finished");
|
||||
qCDebug(MainLog) << "main(): MainWindow constructor finished";
|
||||
|
||||
ui.setWindowIcon(QPixmap("theme:cockatrice"));
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
|
||||
|
|
@ -215,7 +215,7 @@ int main(int argc, char *argv[])
|
|||
SpoilerBackgroundUpdater spoilerBackgroundUpdater;
|
||||
|
||||
ui.show();
|
||||
qDebug("main(): ui.show() finished");
|
||||
qCDebug(MainLog) << "main(): ui.show() finished";
|
||||
|
||||
// force shortcuts to be shown/hidden in right-click menus, regardless of system defaults
|
||||
qApp->setAttribute(Qt::AA_DontShowShortcutsInContextMenus, !SettingsCache::instance().getShowShortcuts());
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <QLoggingCategory>
|
||||
|
||||
inline Q_LOGGING_CATEGORY(MainLog, "main");
|
||||
inline Q_LOGGING_CATEGORY(QtTranslatorDebug, "qt_translator");
|
||||
|
||||
class CardDatabase;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue