diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-01-24 18:09:12 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:13 -0300 |
commit | c1978362f242419bb0e1f8f432c6e200cd26654d (patch) | |
tree | 9e1d4cfe0212be897e8ec56c02720ebbbb59a969 /tests | |
parent | 7697ce94003f4a0647cdabe1988fe254fa35af40 (diff) |
Avoid crash reported on http://bugreports.qt.nokia.com/browse/QTBUG-16868
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testmodifydocumentation.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/testmodifydocumentation.cpp b/tests/testmodifydocumentation.cpp index 46151ee88..c66d29af3 100644 --- a/tests/testmodifydocumentation.cpp +++ b/tests/testmodifydocumentation.cpp @@ -63,9 +63,6 @@ void TestModifyDocumentation::testModifyDocumentation() } // we need an event loop to run these tests -int argv = 0; -const char* argc[] = {""}; -QCoreApplication app(argv, const_cast<char**>(argc)); -QTEST_APPLESS_MAIN(TestModifyDocumentation) +QTEST_MAIN(TestModifyDocumentation) #include "testmodifydocumentation.moc" |