From 991318d0dedbd3a036a92ba73e21ffd42ccf66b9 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sun, 26 Dec 2010 18:37:11 +0200 Subject: [PATCH] GUI: zero is not valid value for bool type. --- gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 9bb60f293..fcbe7edcb 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -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();