aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generator/shiboken2/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/shiboken2/cppgenerator.cpp b/generator/shiboken2/cppgenerator.cpp
index 1027f6882..d6cc406c6 100644
--- a/generator/shiboken2/cppgenerator.cpp
+++ b/generator/shiboken2/cppgenerator.cpp
@@ -252,7 +252,7 @@ void CppGenerator::generateClass(QTextStream &s, GeneratorContext &classContext)
s << endl << "// main header" << endl << "#include \"" << headerfile << '"' << endl;
// PYSIDE-500: Use also includes for inherited wrapper classes, because
- // with the protected hack, we sometimes need to cast inherited wrappers.
+ // without the protected hack, we sometimes need to cast inherited wrappers.
s << endl << "// inherited wrapper classes" << endl;
AbstractMetaClass *basis = metaClass->baseClass();
for (; basis; basis = basis->baseClass()) {