From 7bc5030ed5ec760b413b8bc6ea037b5c31fdf84d Mon Sep 17 00:00:00 2001 From: Gres Date: Thu, 9 Apr 2020 20:37:50 +0300 Subject: [PATCH] Cleanup --- src/main.cpp | 4 ---- src/service/debug.cpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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() {