CEditorApplication: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-07-03 06:57:07 -04:00
parent 66a6ff3e86
commit d779a1cdfa
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ CEditorApplication::CEditorApplication(int& rArgc, char **ppArgv)
: QApplication(rArgc, ppArgv)
, mLastUpdate{CTimer::GlobalTime()}
{
connect(&mRefreshTimer, SIGNAL(timeout()), this, SLOT(TickEditors()));
connect(&mRefreshTimer, &QTimer::timeout, this, &CEditorApplication::TickEditors);
mRefreshTimer.start(8);
}