diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-10-09 14:47:07 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-10-09 16:16:21 +0200 |
commit | 88d118bf9ac694effcc110d39a62089aeeb16684 (patch) | |
tree | 7013d677c00de32233e2300f5555b15eb037c609 /src/activeqt/container/qaxbase.cpp | |
parent | a87481450381022bcf6f3357f939952368bfff30 (diff) | |
download | qtactiveqt-88d118bf9ac694effcc110d39a62089aeeb16684.tar.gz |
Use QString/QByteArray::prepend() where appropriate.
Change-Id: Ifbdc828a646cab18548683829c2f45c84da0076b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/activeqt/container/qaxbase.cpp')
-rw-r--r-- | src/activeqt/container/qaxbase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/activeqt/container/qaxbase.cpp b/src/activeqt/container/qaxbase.cpp index 82b416c..ffaf18e 100644 --- a/src/activeqt/container/qaxbase.cpp +++ b/src/activeqt/container/qaxbase.cpp @@ -1912,20 +1912,20 @@ QByteArray MetaObjectGenerator::usertypeToString(const TYPEDESC &tdesc, ITypeInf userTypeName = "IDispatch"; } else { if (typeLibName != current_typelib) - userTypeName = typeLibName + "::" + userTypeName; + userTypeName.prepend(typeLibName + "::"); if (!qax_qualified_usertypes.contains(userTypeName)) qax_qualified_usertypes << userTypeName; } break; case TKIND_ENUM: if (typeLibName != current_typelib) - userTypeName = typeLibName + "::" + userTypeName; + userTypeName.prepend(typeLibName + "::"); if (!qax_qualified_usertypes.contains("enum " + userTypeName)) qax_qualified_usertypes << "enum " + userTypeName; break; case TKIND_INTERFACE: if (typeLibName != current_typelib) - userTypeName = typeLibName + "::" + userTypeName; + userTypeName.prepend(typeLibName + "::"); if (!qax_qualified_usertypes.contains(userTypeName)) qax_qualified_usertypes << userTypeName; break; |