Skip to content

Commit 6f81c9a

Browse files
committed
Avoid emitting QStringList* arguments as QStringList<QString>*
1 parent 19cc4c2 commit 6f81c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/shellgenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void ShellGenerator::writeTypeInfo(QTextStream &s, const AbstractMetaType *type,
9595
}
9696

9797
if (type->instantiations().size() > 0
98-
&& (!type->isContainer()
98+
&& (!te->isContainer()
9999
|| (static_cast<const ContainerTypeEntry *>(te))->type() != ContainerTypeEntry::StringListContainer)) {
100100
s << '<';
101101
QList<AbstractMetaType *> args = type->instantiations();

0 commit comments

Comments
 (0)