diff --git a/src/libsync/logger.cpp b/src/libsync/logger.cpp index 06e360d4268..602e8b87631 100644 --- a/src/libsync/logger.cpp +++ b/src/libsync/logger.cpp @@ -203,7 +203,7 @@ void Logger::setLogDebug(bool debug) QString Logger::temporaryFolderLogDirPath() const { - return QDir::temp().filePath(QStringLiteral("%1-logdir").arg(qApp->applicationName())); + return QDir::temp().absoluteFilePath(QStringLiteral("%1-logdir").arg(QCoreApplication::applicationName())); } void Logger::setupTemporaryFolderLogDir()