Use qt5 syntax for a few remaining SLOT()

This commit is contained in:
thalieht 2018-05-10 20:42:19 +03:00
parent 768262ae64
commit 4cfa163bbd
4 changed files with 8 additions and 4 deletions

View file

@ -329,7 +329,7 @@ void showSplashScreen()
painter.drawText(224 - painter.fontMetrics().width(version), 270, version);
QSplashScreen *splash = new QSplashScreen(splash_img);
splash->show();
QTimer::singleShot(1500, splash, SLOT(deleteLater()));
QTimer::singleShot(1500, splash, &QObject::deleteLater);
qApp->processEvents();
}