GUI: zero is not valid value for bool type.
This commit is contained in:
parent
436bd68ece
commit
991318d0de
|
@ -389,7 +389,7 @@ Settings MainWindow::GetCppcheckSettings()
|
||||||
|
|
||||||
result.addEnabled("style");
|
result.addEnabled("style");
|
||||||
result.debug = false;
|
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._errorsOnly = false;
|
||||||
result._verbose = true;
|
result._verbose = true;
|
||||||
result._force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();
|
result._force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();
|
||||||
|
|
Loading…
Reference in New Issue