From: Stephen Kelly Date: Fri, 20 Apr 2012 19:31:26 +0000 (+0200) Subject: Fix typo in backwards compatibility code. X-Git-Tag: 071012110112~1499 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40fe0721d61b7aa5549f34422cc4fca080a3d9e7;p=profile%2Fivi%2Fqtbase.git Fix typo in backwards compatibility code. The patch just submitted to Qt4 is not affected by this. Change-Id: I3f38f1a56f2a9a2058b2c8ff0a6ee1715be41e85 Reviewed-by: Thiago Macieira --- diff --git a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp index 8c75c8a..f9d6864 100644 --- a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp +++ b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp @@ -353,7 +353,7 @@ static QByteArray qtTypeName(const QString &signature, const QDBusIntrospection: QString oldAnnotationName = QString::fromLatin1("com.trolltech.QtDBus.QtTypeName"); if (paramId >= 0) oldAnnotationName += QString::fromLatin1(".%1%2").arg(QLatin1String(direction)).arg(paramId); - qttype = annotations.value(annotationName); + qttype = annotations.value(oldAnnotationName); if (qttype.isEmpty()) { fprintf(stderr, "Got unknown type `%s'\n", qPrintable(signature));