mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Fix potential race condition. Closes #4742.
This commit is contained in:
committed by
sledgehammer999
parent
64cf93b889
commit
964dcc4d8a
@@ -354,8 +354,8 @@ void showSplashScreen()
|
||||
painter.setFont(QFont("Arial", 22, QFont::Black));
|
||||
painter.drawText(224 - painter.fontMetrics().width(version), 270, version);
|
||||
QSplashScreen *splash = new QSplashScreen(splash_img);
|
||||
QTimer::singleShot(1500, splash, SLOT(deleteLater()));
|
||||
splash->show();
|
||||
QTimer::singleShot(1500, splash, SLOT(deleteLater()));
|
||||
qApp->processEvents();
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user