diff --git a/src/main.cpp b/src/main.cpp index 982f379..e836be8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,7 +1,3 @@ -#ifdef Q_OS_LINUX -#include -#endif - #include "apptranslator.h" #include "manager.h" #include "singleapplication.h" diff --git a/src/service/debug.cpp b/src/service/debug.cpp index d98953b..bc779bb 100644 --- a/src/service/debug.cpp +++ b/src/service/debug.cpp @@ -39,7 +39,7 @@ void handler(QtMsgType type, const QMessageLogContext &context, namespace debug { -std::atomic_bool isTrace; +std::atomic_bool isTrace = false; QString traceFileName() {