From e2d5245359de0cd419d49b1f3c8e1392c5d9342a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Oct 2017 13:43:42 +0200 Subject: use "static" once, don't propagate from a macro --- tracker-hatire/thread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tracker-hatire') diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp index 506ccfcf..1f976c35 100644 --- a/tracker-hatire/thread.cpp +++ b/tracker-hatire/thread.cpp @@ -1,5 +1,6 @@ #include "thread.hpp" #include "compat/sleep.hpp" +#include "compat/util.hpp" #include #include @@ -52,7 +53,7 @@ struct Diag final : public QFile { Diag() { - setFileName(QCoreApplication::applicationDirPath() + "/HATDiagnostics.txt"); + setFileName(OPENTRACK_BASE_PATH + "/HATDiagnostics.txt"); } }; -- cgit v1.2.3