Build with -DQT_NO_CAST_TO_ASCII.

This commit is contained in:
Felix Geyer 2012-04-22 00:55:52 +02:00
parent 0bcce7ce7f
commit 82f1cbb3c9
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ namespace QTest {
char *toString(const Uuid &uuid)
{
QByteArray ba = "Uuid(";
ba += uuid.toBase64();
ba += uuid.toBase64().toAscii().constData();
ba += ")";
return qstrdup(ba.data());
}