changeset 252:f88cb5bc5142

...
author Chris Cannam
date Thu, 01 May 2008 13:37:39 +0000
parents f9b086788565
children 6a6b5a1a6c67
files main/main.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/main.cpp	Tue Apr 29 15:34:17 2008 +0000
+++ b/main/main.cpp	Thu May 01 13:37:39 2008 +0000
@@ -33,6 +33,7 @@
 #include <QSessionManager>
 #include <QDir>
 #include <QSplashScreen>
+#include <QTimer>
 
 #include <iostream>
 #include <signal.h>
@@ -242,6 +243,7 @@
     settings.beginGroup("Preferences");
     if (settings.value("show-splash", true).toBool()) {
         splash.show();
+        QTimer::singleShot(5000, &splash, SLOT(hide()));
         application.processEvents();
     }
     settings.endGroup();