From 23e98b93e4e430806a43f6cfa5b1dd0ee1ee1c80 Mon Sep 17 00:00:00 2001 From: Leon Adomaitis Date: Mon, 27 Apr 2026 01:41:47 +0200 Subject: [PATCH] fix: resolve root path via symlink targets --- common/paths.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/paths.cpp b/common/paths.cpp index b0778b565..5cbd68a41 100644 --- a/common/paths.cpp +++ b/common/paths.cpp @@ -60,7 +60,8 @@ void setRootPath(const QString &rootPath) void setRelativeRootPath(const char *relativeRootPath) { Q_ASSERT(relativeRootPath); - setRootPath(QCoreApplication::applicationDirPath() + QDir::separator() + setRootPath(QFileInfo(QCoreApplication::applicationFilePath()).canonicalPath() + + QDir::separator() + QLatin1String(relativeRootPath)); }