summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppclasswizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/cppclasswizard.cpp')
-rw-r--r--src/plugins/cppeditor/cppclasswizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppclasswizard.cpp b/src/plugins/cppeditor/cppclasswizard.cpp
index d41a7c204b..627bd4570e 100644
--- a/src/plugins/cppeditor/cppclasswizard.cpp
+++ b/src/plugins/cppeditor/cppclasswizard.cpp
@@ -234,7 +234,7 @@ bool CppClassWizard::generateHeaderAndSource(const CppClassWizardParameters &par
headerStr << headerLicense << "#ifndef " << guard
<< "\n#define " << guard << '\n';
- const QRegExp qtClassExpr(QLatin1String("^Q[A-Z3].+"));
+ QRegExp qtClassExpr(QLatin1String("^Q[A-Z3].+"));
QTC_CHECK(qtClassExpr.isValid());
// Determine parent QObject type for Qt types. Provide base
// class in case the user did not specify one.