summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodestylepreferencesfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppcodestylepreferencesfactory.cpp')
-rw-r--r--src/plugins/cpptools/cppcodestylepreferencesfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcodestylepreferencesfactory.cpp b/src/plugins/cpptools/cppcodestylepreferencesfactory.cpp
index 27b9d3877b..6eb401f3ec 100644
--- a/src/plugins/cpptools/cppcodestylepreferencesfactory.cpp
+++ b/src/plugins/cpptools/cppcodestylepreferencesfactory.cpp
@@ -120,7 +120,7 @@ TextEditor::Indenter *CppCodeStylePreferencesFactory::createIndenter() const
QString CppCodeStylePreferencesFactory::snippetProviderGroupId() const
{
- return CppEditor::Constants::CPP_SNIPPETS_GROUP_ID;
+ return QString(CppEditor::Constants::CPP_SNIPPETS_GROUP_ID);
}
QString CppCodeStylePreferencesFactory::previewText() const