diff options
Diffstat (limited to 'tracker-hatire/thread.cpp')
-rw-r--r-- | tracker-hatire/thread.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp index 74abf628..629d1bff 100644 --- a/tracker-hatire/thread.cpp +++ b/tracker-hatire/thread.cpp @@ -48,6 +48,14 @@ void hatire_thread::sendcmd_impl(const QByteArray &cmd) #endif } +struct Diag final : public QFile +{ + Diag() + { + setFileName(QCoreApplication::applicationDirPath() + "/HATDiagnostics.txt"); + } +}; + void hatire_thread::Log(const QString& message) { // Drop out immediately if logging is off. Yes, there is still some overhead because of passing strings around for no reason. |