From c1978362f242419bb0e1f8f432c6e200cd26654d Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 24 Jan 2011 18:09:12 -0200 Subject: Avoid crash reported on http://bugreports.qt.nokia.com/browse/QTBUG-16868 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewer: Marcelo Lira Renato Araújo --- tests/testmodifydocumentation.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests') 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(argc)); -QTEST_APPLESS_MAIN(TestModifyDocumentation) +QTEST_MAIN(TestModifyDocumentation) #include "testmodifydocumentation.moc" -- cgit v1.2.3