summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-hatire/thread.cpp')
-rw-r--r--tracker-hatire/thread.cpp3
1 files changed, 2 insertions, 1 deletions
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 <utility>
#include <QTextStream>
@@ -52,7 +53,7 @@ struct Diag final : public QFile
{
Diag()
{
- setFileName(QCoreApplication::applicationDirPath() + "/HATDiagnostics.txt");
+ setFileName(OPENTRACK_BASE_PATH + "/HATDiagnostics.txt");
}
};