From 8dbdaed5c367a78ee415c12059e3031fdc41343e Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Thu, 22 Oct 2020 12:10:24 +0200 Subject: [PATCH] Fix condition --- src/gui/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 022ae9a1d..2de2522bc 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -266,7 +266,7 @@ Application::Application(int &argc, char **argv) if (ConfigFile().crashReporter()) { auto reporter = QStringLiteral(CRASHREPORTER_EXECUTABLE); #ifdef Q_OS_WIN - if (reporter.endsWith(QLatin1String(".exe"))) { + if (!reporter.endsWith(QLatin1String(".exe"))) { reporter.append(QLatin1String(".exe")); } #endif -- 2.30.2