From bbc44cfb90ca0f43de3774021c28ad4e7163e12b Mon Sep 17 00:00:00 2001 From: Artem Sokolovskii Date: Thu, 17 Mar 2022 12:01:17 +0100 Subject: ClangFormat: Fix settings checkboxes disappearance - Fixed settings checkboxes disappearance after open a project - Fixed impossibility to save settings Task-number: QTCREATORBUG-26948 Change-Id: Ia73a61bf56b99adea9ed45c9d656860b185a3d7e Reviewed-by: Christian Kandeler Reviewed-by: Qt CI Bot --- src/plugins/texteditor/icodestylepreferencesfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/texteditor/icodestylepreferencesfactory.cpp') diff --git a/src/plugins/texteditor/icodestylepreferencesfactory.cpp b/src/plugins/texteditor/icodestylepreferencesfactory.cpp index e5efa95af05..89eb961b131 100644 --- a/src/plugins/texteditor/icodestylepreferencesfactory.cpp +++ b/src/plugins/texteditor/icodestylepreferencesfactory.cpp @@ -34,7 +34,7 @@ ICodeStylePreferencesFactory::ICodeStylePreferencesFactory() } CodeStyleEditorWidget *ICodeStylePreferencesFactory::createCodeStyleEditor( - ICodeStylePreferences *codeStyle, QWidget *parent) + ICodeStylePreferences *codeStyle, ProjectExplorer::Project *project, QWidget *parent) { - return new CodeStyleEditor(this, codeStyle, parent); + return new CodeStyleEditor(this, codeStyle, project, parent); } -- cgit v1.2.3