From de3e06a9e2f285571d5dcf40f67bc19615119c5c Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 2 May 2012 16:32:26 +0200 Subject: Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtOpenGL] 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: I6ea46cd6dfed75afc253fa2b4e3f1789bdad1d4e Reviewed-by: Gunnar Sletta --- tests/benchmarks/opengl/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/benchmarks/opengl/main.cpp') diff --git a/tests/benchmarks/opengl/main.cpp b/tests/benchmarks/opengl/main.cpp index b92027ed7b..a61587c87e 100644 --- a/tests/benchmarks/opengl/main.cpp +++ b/tests/benchmarks/opengl/main.cpp @@ -111,7 +111,7 @@ void OpenGLBench::imageDrawing_data() bool pixmap = i & 4; QTest::newRow(QString("pixmap=%1 highQualityAntialiasing=%2 smoothPixmapTransform=%3") - .arg(pixmap).arg(highQualityAntialiasing).arg(smoothPixmapTransform).toAscii().data()) + .arg(pixmap).arg(highQualityAntialiasing).arg(smoothPixmapTransform).toLatin1().data()) << pixmap << highQualityAntialiasing << smoothPixmapTransform; } } @@ -178,7 +178,7 @@ void OpenGLBench::pathDrawing_data() for (int i = 0; i < paths.size(); ++i) { QTest::newRow(QString("path=%1 highQualityAntialiasing=%2") - .arg(paths[i].second).arg(highQualityAntialiasing).toAscii().data()) + .arg(paths[i].second).arg(highQualityAntialiasing).toLatin1().data()) << paths[i].first << highQualityAntialiasing; } } @@ -264,7 +264,7 @@ void OpenGLBench::textDrawing_data() QTest::newRow("text lines=1 (warmup run)") << 1; for (unsigned int i = 0; i < sizeof(lines) / sizeof(int); ++i) - QTest::newRow(QString("text lines=%0").arg(lines[i]).toAscii().data()) << lines[i]; + QTest::newRow(QString("text lines=%0").arg(lines[i]).toLatin1().data()) << lines[i]; } void OpenGLBench::textDrawing() -- cgit v1.2.3