mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-01 10:53:30 +00:00
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)
|
||||
, mLastUpdate{CTimer::GlobalTime()}
|
||||
{
|
||||
connect(&mRefreshTimer, SIGNAL(timeout()), this, SLOT(TickEditors()));
|
||||
connect(&mRefreshTimer, &QTimer::timeout, this, &CEditorApplication::TickEditors);
|
||||
mRefreshTimer.start(8);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user