summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-04-16 16:01:50 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-17 06:19:42 +0200
commit9b06be8646b48efedd90568d7481bebfd7ba90a3 (patch)
tree61493ee6c33b2005222e6f2aa693301d1288e5a9 /tests
parentda7880b0f032e67e3a2b24ec9bb47259ffd671da (diff)
Fix tst_qtracebench benchmark.
Default QDataStream version was changed in Qt5, but the test tried to load an old dumped file. Change-Id: I49c06c232ec8a27f33c9da345bae4e03cd0c56fb Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/benchmarks/gui/painting/qtracebench/tst_qtracebench.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/benchmarks/gui/painting/qtracebench/tst_qtracebench.cpp b/tests/benchmarks/gui/painting/qtracebench/tst_qtracebench.cpp
index 72e2248850..a040a540ed 100644
--- a/tests/benchmarks/gui/painting/qtracebench/tst_qtracebench.cpp
+++ b/tests/benchmarks/gui/painting/qtracebench/tst_qtracebench.cpp
@@ -179,6 +179,7 @@ ReplayWidget::ReplayWidget(const QString &filename_)
}
QDataStream in(&file);
+ in.setVersion(QDataStream::Qt_4_7);
char *data;
uint size;