aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 14:42:53 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-04 10:36:17 +0200
commit44f9412bf789d73dd462292038686f5b07026132 (patch)
tree8f0c57c9c9a72317bed52b18519944b0b6ce87a9 /tests/benchmarks
parentc96c1d152c8506afb3993f23ac7cf35e46fb808f (diff)
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: I03084595ddc425a988374b8352fd23e9504ffba6 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/qml/holistic/tst_holistic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/benchmarks/qml/holistic/tst_holistic.cpp b/tests/benchmarks/qml/holistic/tst_holistic.cpp
index db8cc1cecb..988b39806b 100644
--- a/tests/benchmarks/qml/holistic/tst_holistic.cpp
+++ b/tests/benchmarks/qml/holistic/tst_holistic.cpp
@@ -398,8 +398,8 @@ void tst_holistic::dynamicity()
usedFirst = true;
}
- obj->setProperty(writeProperty.toAscii().constData(), writeValue);
- readValue = obj->property(readProperty.toAscii().constData());
+ obj->setProperty(writeProperty.toLatin1().constData(), writeValue);
+ readValue = obj->property(readProperty.toLatin1().constData());
}
delete obj;
@@ -593,7 +593,7 @@ void tst_holistic::typeResolution()
}
for (int j = 0; j < writeProperty.size(); ++j) {
- obj->setProperty(writeProperty.at(j).toAscii().constData(), writeValue.at(j));
+ obj->setProperty(writeProperty.at(j).toLatin1().constData(), writeValue.at(j));
}
}
}