From b2b92dad82db4ed07a7eeb10f8e225d22d54a6c1 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 3 May 2012 16:58:59 +0200 Subject: Change uses of {to,from}Ascii to {to,from}Latin1 This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ic591779a3431999c007fb0ff362c7e25ce54097e Reviewed-by: Jonas Rabbe --- tests/auto/unit/qabstractvideobuffer/tst_qabstractvideobuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/unit') diff --git a/tests/auto/unit/qabstractvideobuffer/tst_qabstractvideobuffer.cpp b/tests/auto/unit/qabstractvideobuffer/tst_qabstractvideobuffer.cpp index 60c70f252..0c382a275 100644 --- a/tests/auto/unit/qabstractvideobuffer/tst_qabstractvideobuffer.cpp +++ b/tests/auto/unit/qabstractvideobuffer/tst_qabstractvideobuffer.cpp @@ -122,9 +122,9 @@ void tst_QAbstractVideoBuffer::handleType_data() // User handles are different QTest::newRow("user1") - << QAbstractVideoBuffer::UserHandle << QString::fromAscii("UserHandle(1000)"); + << QAbstractVideoBuffer::UserHandle << QString::fromLatin1("UserHandle(1000)"); QTest::newRow("user2") - << QAbstractVideoBuffer::HandleType(QAbstractVideoBuffer::UserHandle + 1) << QString::fromAscii("UserHandle(1001)"); + << QAbstractVideoBuffer::HandleType(QAbstractVideoBuffer::UserHandle + 1) << QString::fromLatin1("UserHandle(1001)"); } void tst_QAbstractVideoBuffer::handleType() -- cgit v1.2.3