From 5a2db656b60a21f1cd0712e63bc922bbf4122131 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 1 Apr 2021 11:59:31 +1100 Subject: [PATCH] fixed human error in crashhandler --- app/dialog/crashhandler/crashhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialog/crashhandler/crashhandler.cpp b/app/dialog/crashhandler/crashhandler.cpp index a30fe6bdb..1e58633b3 100644 --- a/app/dialog/crashhandler/crashhandler.cpp +++ b/app/dialog/crashhandler/crashhandler.cpp @@ -116,7 +116,6 @@ void CrashHandlerDialog::GenerateReport() connect(p, &QProcess::readyReadStandardOutput, this, &CrashHandlerDialog::ReadProcessHasData); QDir app_path(qApp->applicationDirPath()); - QString stackwalk_bin = app_path.filePath(stackwalk_filename); QString stackwalk_filename = QStringLiteral("minidump_stackwalk"); QString symbols_path; @@ -128,6 +127,7 @@ void CrashHandlerDialog::GenerateReport() symbols_path = app_path.filePath(QStringLiteral("../share/olive-editor/symbols")); #endif + QString stackwalk_bin = app_path.filePath(stackwalk_filename); p->start(stackwalk_bin, {report_filename_, symbols_path}); crash_report_->setText(QStringLiteral("Trying to run: %1").arg(stackwalk_bin)); }