aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2017-04-21 17:27:16 +0200
committerChristian Tismer <tismer@stackless.com>2017-04-26 12:25:16 +0000
commitf8abfa1bb6f46a5a61fb94ecaf7bd07c34133e2b (patch)
tree34e13e2b0aebe668be657cc796360e1111685a62
parentcca93156a704711f7b9eec6603688e05af40650f (diff)
Fix Inheritance of PySide, Windows support
This patch changes a logical error, only. The mentioned patch is relevant only when the “protected hack” is _not_ applied. Maybe this will change again, when I evict the protected hack, so feel free to use this change or ignore it. Task-number: PYSIDE-500 Task-number: PYSIDE-331 Change-Id: I58c2b211f71786e613e18ea99c62f0fac337ce14 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-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()) {