mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07:00
Fix splash screen staying on top of all windows. Closes #1391.
This commit is contained in:
parent
69d52a06d7
commit
0d32b9a692
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ void showSplashScreen()
|
|||
painter.setPen(QPen(Qt::white));
|
||||
painter.setFont(QFont("Arial", 22, QFont::Black));
|
||||
painter.drawText(224 - painter.fontMetrics().width(version), 270, version);
|
||||
QSplashScreen *splash = new QSplashScreen(splash_img, Qt::WindowStaysOnTopHint);
|
||||
QSplashScreen *splash = new QSplashScreen(splash_img);
|
||||
QTimer::singleShot(1500, splash, SLOT(deleteLater()));
|
||||
splash->show();
|
||||
qApp->processEvents();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue