mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
Differentiate logging in order to silence certain modules. (#5419)
* Differentiate logging in order to silence certain modules. * Lint cmake. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
38e99f2e87
commit
9c38c9ed1b
6 changed files with 81 additions and 61 deletions
|
|
@ -136,6 +136,9 @@ int main(int argc, char *argv[])
|
|||
SetUnhandledExceptionFilter(CockatriceUnhandledExceptionFilter);
|
||||
#endif
|
||||
|
||||
// Set the QT_LOGGING_CONF environment variable
|
||||
qputenv("QT_LOGGING_CONF", "./qtlogging.ini");
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
QObject::connect(&app, &QApplication::lastWindowClosed, &app, &QApplication::quit);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue