ClangTools: Put a clazy setting to its proper place

We do not go out of our way to retain the old settings value, as the
setting affects only the UI behavior in the same widget it is displayed
in.

Change-Id: Ie0d66b3909364e15a05013eddaf742b161941f67
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2024-02-22 14:17:10 +01:00
parent 498625520a
commit cdd85477fb
5 changed files with 7 additions and 21 deletions

View File

@@ -98,9 +98,11 @@ ClangToolsSettings::ClangToolsSettings()
setSettingsGroup(Constants::SETTINGS_ID);
clangTidyExecutable.setSettingsKey("ClangTidyExecutable");
clazyStandaloneExecutable.setSettingsKey("ClazyStandaloneExecutable");
enableLowerClazyLevels.setSettingsKey("EnableLowerClazyLevels");
enableLowerClazyLevels.setDefaultValue(true);
readSettings();
}