summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-25 12:47:41 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-25 12:50:13 (GMT)
commit29919f375e30c3ad2fb1d367e03b86302a7af81d (patch)
treed044b49af8589b1ae01101d004e337e8b3db35a9 /tests
parent72f3752b5b517c14e64c4e15d354ddf32e386c20 (diff)
downloadQt-29919f375e30c3ad2fb1d367e03b86302a7af81d.zip
Qt-29919f375e30c3ad2fb1d367e03b86302a7af81d.tar.gz
Qt-29919f375e30c3ad2fb1d367e03b86302a7af81d.tar.bz2
Pass the right arguments to QApplication in GraphicsView benchmark.
Failed to run the test with "-style" because wrong arguments were passed to QApplication constructor.
Diffstat (limited to 'tests')
-rw-r--r--tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/main.cpp b/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/main.cpp
index b904f40..2c1274c 100644
--- a/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/main.cpp
+++ b/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/main.cpp
@@ -751,7 +751,7 @@ int main(int argc, char *argv[])
aargv[aargc++] = argv[i];
}
- QApplication app(argc, argv);
+ QApplication app(aargc, aargv);
int returnValue = 0;
if (settings.options() & Settings::ManualTest) {