Browse Source

Fix potential race condition. Closes #4742.

adaptive-webui-19844
Chocobo1 9 years ago
parent
commit
48d2beece5
  1. 2
      src/app/main.cpp

2
src/app/main.cpp

@ -354,8 +354,8 @@ void showSplashScreen() @@ -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

Loading…
Cancel
Save