mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
Lint.
This commit is contained in:
parent
a1b99f5232
commit
e95a5bd797
1 changed files with 4 additions and 1 deletions
|
|
@ -154,7 +154,10 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
// Set the QT_LOGGING_CONF environment variable
|
// Set the QT_LOGGING_CONF environment variable
|
||||||
qputenv("QT_LOGGING_CONF", "./qtlogging.ini");
|
qputenv("QT_LOGGING_CONF", "./qtlogging.ini");
|
||||||
qSetMessagePattern("\033[0m[%{time yyyy-MM-dd h:mm:ss.zzz} %{if-debug}\033[36mD%{endif}%{if-info}\033[32mI%{endif}%{if-warning}\033[33mW%{endif}%{if-critical}\033[31mC%{endif}%{if-fatal}\033[1;31mF%{endif}\033[0m] [%{function}] - %{message} [%{file}:%{line}]");
|
qSetMessagePattern(
|
||||||
|
"\033[0m[%{time yyyy-MM-dd h:mm:ss.zzz} "
|
||||||
|
"%{if-debug}\033[36mD%{endif}%{if-info}\033[32mI%{endif}%{if-warning}\033[33mW%{endif}%{if-critical}\033[31mC%{"
|
||||||
|
"endif}%{if-fatal}\033[1;31mF%{endif}\033[0m] [%{function}] - %{message} [%{file}:%{line}]");
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
QObject::connect(&app, &QApplication::lastWindowClosed, &app, &QApplication::quit);
|
QObject::connect(&app, &QApplication::lastWindowClosed, &app, &QApplication::quit);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue