UID generator generates upercased values

This commit is contained in:
Pawel Polanski
2010-09-24 16:26:24 +02:00
parent 315319ab14
commit 94c4ee86c2

View File

@@ -82,7 +82,7 @@ QString AbstractMobileApp::symbianUidForPath(const QString &path)
hash ^= c + ((c - i) << i % 20) + ((c + i) << (i + 5) % 20) + ((c - 2 * i) << (i + 10) % 20) + ((c + 2 * i) << (i + 15) % 20);
}
return QString::fromLatin1("0xE")
+ QString::fromLatin1("%1").arg(hash, 7, 16, QLatin1Char('0')).right(7);
+ QString::fromLatin1("%1").arg(hash, 7, 16, QLatin1Char('0')).right(7).toUpper();
}
void AbstractMobileApp::setOrientation(Orientation orientation)