diff options
Diffstat (limited to 'src/plugins/clangformat/clangformatplugin.cpp')
-rw-r--r-- | src/plugins/clangformat/clangformatplugin.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/clangformat/clangformatplugin.cpp b/src/plugins/clangformat/clangformatplugin.cpp index 0b2c2fd5a6..560c98eee6 100644 --- a/src/plugins/clangformat/clangformatplugin.cpp +++ b/src/plugins/clangformat/clangformatplugin.cpp @@ -26,6 +26,7 @@ #include "clangformatplugin.h" #include "clangformatconfigwidget.h" +#include "clangformatglobalconfigwidget.h" #include "clangformatconstants.h" #include "clangformatindenter.h" #include "clangformatsettings.h" @@ -95,6 +96,12 @@ public: { return {new ClangFormatConfigWidget(codeStyle, project, parent), tr("ClangFormat")}; } + + TextEditor::CodeStyleEditorWidget *createAdditionalGlobalSettings( + ProjectExplorer::Project *project, QWidget *parent) + { + return new ClangFormatGlobalConfigWidget(project, parent); + } }; static void replaceCppCodeStyle() |