1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

OP-786 Changed the delay before closing the splash screen to 3 seconds.

This commit is contained in:
Fredrik Arvidsson 2013-01-23 07:35:40 +01:00
parent 6b683665b6
commit 7eef09463d

View File

@ -389,9 +389,9 @@ int main(int argc, char **argv)
// Do this after the event loop has started
QTimer::singleShot(100, &pluginManager, SLOT(startTests()));
//Close splashscreen after 5 seconds
QTimer::singleShot(5 * 1000, &splash, SLOT(close()));
//Update message and postpone closing of splashscreen 3 seconds
splash.showProgressMessage(QObject::tr("Application started."));
QTimer::singleShot(3 * 1000, &splash, SLOT(close()));
return app.exec();
}