@@ -126,7 +126,7 void SetupGenerator::generate() | |||
|
126 | 126 | s << "void PythonQt_init_" << shortPackName << "() {" << endl; |
|
127 | 127 | |
|
128 | 128 | if (shortPackName.endsWith("Builtin")) { |
|
129 | shortPackName = shortPackName.mid(shortPackName.length()-strlen("builtin")); | |
|
129 | shortPackName = shortPackName.mid(0, shortPackName.length()-strlen("builtin")); | |
|
130 | 130 | } |
|
131 | 131 | |
|
132 | 132 | QStringList cppClassNames; |
General Comments 0
You need to be logged in to leave comments.
Login now