mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 09:22:15 -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
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue