changeset 19 | fcece45ef507 |
parent 18 | 2f34d5167611 |
child 30 | 5dc02b23752f |
--- a/src/corelib/kernel/qmetaobject.cpp Fri Apr 16 15:50:13 2010 +0300 +++ b/src/corelib/kernel/qmetaobject.cpp Mon May 03 13:17:34 2010 +0300 @@ -943,7 +943,7 @@ if (!type || !*type) return result; - QVarLengthArray<char> stackbuf(int(strlen(type)) + 1); + QVarLengthArray<char> stackbuf(qstrlen(type) + 1); qRemoveWhitespace(type, stackbuf.data()); int templdepth = 0; qNormalizeType(stackbuf.data(), templdepth, result);