summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/opengl/main.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-02 16:32:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-04 12:46:31 +0200
commitde3e06a9e2f285571d5dcf40f67bc19615119c5c (patch)
treeb86efd520989b9a9bbe15a331b76d0aeec8be6a7 /tests/benchmarks/opengl/main.cpp
parentdd5b373d41f99f06efd1a927a3323abada4fd6ef (diff)
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 <gunnar.sletta@nokia.com>
Diffstat (limited to 'tests/benchmarks/opengl/main.cpp')
-rw-r--r--tests/benchmarks/opengl/main.cpp6
1 files changed, 3 insertions, 3 deletions
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()