Only set QtDebugMsg when build type is debug
This commit is contained in:
@@ -203,7 +203,9 @@ int main(int argc, char* argv[]) {
|
||||
Q_INIT_RESOURCE(data);
|
||||
Q_INIT_RESOURCE(icons);
|
||||
|
||||
#ifdef DEBUG
|
||||
QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true);
|
||||
#endif
|
||||
|
||||
Application app;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user