CEditorApplication: Make use of Qt 5 signals and slots
This commit is contained in:
parent
66a6ff3e86
commit
d779a1cdfa
|
@ -24,7 +24,7 @@ CEditorApplication::CEditorApplication(int& rArgc, char **ppArgv)
|
||||||
: QApplication(rArgc, ppArgv)
|
: QApplication(rArgc, ppArgv)
|
||||||
, mLastUpdate{CTimer::GlobalTime()}
|
, mLastUpdate{CTimer::GlobalTime()}
|
||||||
{
|
{
|
||||||
connect(&mRefreshTimer, SIGNAL(timeout()), this, SLOT(TickEditors()));
|
connect(&mRefreshTimer, &QTimer::timeout, this, &CEditorApplication::TickEditors);
|
||||||
mRefreshTimer.start(8);
|
mRefreshTimer.start(8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue