mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 08:02:30 -06:00
Display the splash screen for 2 seconds instead
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user