Fix condition

This commit is contained in:
Hannah von Reth 2020-10-22 12:10:24 +02:00 committed by Kevin Ottens
parent e4a0222954
commit 8dbdaed5c3
No known key found for this signature in database
GPG Key ID: 074BBBCB8DECC9E2

View File

@ -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