From 5b10faee84d9941f0355ae1b62b707b44e6e6151 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 1 Apr 2021 17:16:18 +1100 Subject: [PATCH] try symbol path without .. --- app/dialog/crashhandler/crashhandler.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/dialog/crashhandler/crashhandler.cpp b/app/dialog/crashhandler/crashhandler.cpp index af03bfab3..54c174004 100644 --- a/app/dialog/crashhandler/crashhandler.cpp +++ b/app/dialog/crashhandler/crashhandler.cpp @@ -116,9 +116,11 @@ QString CrashHandlerDialog::GetSymbolPath() #if defined(OS_WIN) symbols_path = app_path.filePath(QStringLiteral("symbols")); #elif defined(OS_LINUX) - symbols_path = app_path.filePath(QStringLiteral("../share/olive-editor/symbols")); + app_path.cdUp(); + symbols_path = app_path.filePath(QStringLiteral("share/olive-editor/symbols")); #elif defined(OS_APPLE) - symbols_path = app_path.filePath(QStringLiteral("../Resources/symbols")); + app_path.cdUp(); + symbols_path = app_path.filePath(QStringLiteral("Resources/symbols")); #endif return symbols_path;