From c0d1bfeedf75c77a6bc379027af384ee9548fdac Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Mon, 6 Sep 2010 23:28:41 +0300 Subject: [PATCH] GUI: use new style API to enable style checks. --- gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index dd27f1cbb..6ee2df209 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -362,9 +362,9 @@ Settings MainWindow::GetCppcheckSettings() } } + result.addEnabled("style"); result.debug = false; result.debugwarnings = mSettings->value(SETTINGS_SHOW_DEBUG_WARNINGS, 0).toBool(); - result._checkCodingStyle = true; result._errorsOnly = false; result._verbose = true; result._force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();