aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/testmodifydocumentation.cpp5
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"