From 9b06be8646b48efedd90568d7481bebfd7ba90a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= Date: Mon, 16 Apr 2012 16:01:50 +0200 Subject: [PATCH] Fix tst_qtracebench benchmark. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/benchmarks/gui/painting/qtracebench/tst_qtracebench.cpp | 1 + 1 file changed, 1 insertion(+) 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;