Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-10-22 13:10:24 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:59:26 +0300
commit8dbdaed5c367a78ee415c12059e3031fdc41343e (patch)
treebbd41f535e6c20fce7ab9861bcd0e76d1321100c /src/gui/application.cpp
parente4a022295403ebee1276d5d135263e0a6853a146 (diff)
Fix condition
Diffstat (limited to 'src/gui/application.cpp')
-rw-r--r--src/gui/application.cpp2
1 files changed, 1 insertions, 1 deletions
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