Display the splash screen for 2 seconds instead

This commit is contained in:
Christophe Dumez
2010-10-30 21:18:38 +00:00
parent e453eb9a91
commit e302042520

View File

@@ -254,7 +254,7 @@ int main(int argc, char *argv[]){
splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/Icons/skin/splash.png")), Qt::WindowStaysOnTopHint); splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/Icons/skin/splash.png")), Qt::WindowStaysOnTopHint);
splash->show(); splash->show();
app.processEvents(); app.processEvents();
QTimer::singleShot(3000, splash, SLOT(deleteLater())); QTimer::singleShot(2000, splash, SLOT(deleteLater()));
} }
#endif #endif
// Set environment variable // Set environment variable