aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/beautifier/clangformat/clangformatoptionspage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/beautifier/clangformat/clangformatoptionspage.cpp')
-rw-r--r--src/plugins/beautifier/clangformat/clangformatoptionspage.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/beautifier/clangformat/clangformatoptionspage.cpp b/src/plugins/beautifier/clangformat/clangformatoptionspage.cpp
index 767b44064c0..6a8e2503534 100644
--- a/src/plugins/beautifier/clangformat/clangformatoptionspage.cpp
+++ b/src/plugins/beautifier/clangformat/clangformatoptionspage.cpp
@@ -34,7 +34,6 @@
namespace Beautifier {
namespace Internal {
-namespace ClangFormat {
class ClangFormatOptionsPageWidget : public Core::IOptionsPageWidget
{
@@ -104,12 +103,11 @@ void ClangFormatOptionsPageWidget::apply()
ClangFormatOptionsPage::ClangFormatOptionsPage(ClangFormatSettings *settings)
{
- setId(Constants::ClangFormat::OPTION_ID);
+ setId("ClangFormat");
setDisplayName(ClangFormatOptionsPageWidget::tr("Clang Format"));
setCategory(Constants::OPTION_CATEGORY);
setWidgetCreator([settings] { return new ClangFormatOptionsPageWidget(settings); });
}
-} // namespace ClangFormat
} // namespace Internal
} // namespace Beautifier