Skip to content

Commit 67cef47

Browse files
authored
fix #14163: GUI: checks multiple configurations even though user provides defines (danmar#7867)
1 parent 8b2249c commit 67cef47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ bool MainWindow::getCppcheckSettings(Settings& settings, Suppressions& supprs)
12301230
settings.debugwarnings = mSettings->value(SETTINGS_SHOW_DEBUG_WARNINGS, false).toBool();
12311231
settings.quiet = false;
12321232
settings.verbose = true;
1233-
settings.force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();
1233+
settings.force = mSettings->value(SETTINGS_CHECK_FORCE, 0).toBool();
12341234
settings.outputFormat = Settings::OutputFormat::text;
12351235
settings.jobs = mSettings->value(SETTINGS_CHECK_THREADS, 1).toInt();
12361236
settings.certainty.setEnabled(Certainty::inconclusive, mSettings->value(SETTINGS_INCONCLUSIVE_ERRORS, false).toBool());

0 commit comments

Comments
 (0)