Commit 963e8d10 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: use a timer to call the application quit() slot after a while

parent 9620c494
...@@ -35,7 +35,8 @@ int mvdApplicationsToolBoxTest(int argc, char* argv[]) ...@@ -35,7 +35,8 @@ int mvdApplicationsToolBoxTest(int argc, char* argv[])
QApplication app(argc, argv); QApplication app(argc, argv);
mvd::ApplicationsToolBox applToolBox; mvd::ApplicationsToolBox applToolBox;
applToolBox.show(); applToolBox.show();
QTimer::singleShot(1000, &app, SLOT(quit()));
return app.exec(); return app.exec();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment