GUI: zero is not valid value for bool type.

This commit is contained in:
Kimmo Varis 2010-12-26 18:37:11 +02:00
parent 436bd68ece
commit 991318d0de
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ Settings MainWindow::GetCppcheckSettings()
result.addEnabled("style");
result.debug = false;
result.debugwarnings = mSettings->value(SETTINGS_SHOW_DEBUG_WARNINGS, 0).toBool();
result.debugwarnings = mSettings->value(SETTINGS_SHOW_DEBUG_WARNINGS, false).toBool();
result._errorsOnly = false;
result._verbose = true;
result._force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();