CQuickplayRelay: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-07-03 07:06:58 -04:00
parent 1be07ca571
commit c7fbfb70e5
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ CGameProject* gpQuickplayProject = nullptr;
void CQuickplayRelay::QuickplayStarted()
{
debugf("Quickplay session started.");
connect(gpDolphinProcess, SIGNAL(finished(int)), this, SLOT(QuickplayFinished(int)));
connect(gpDolphinProcess, qOverload<int>(&QProcess::finished), this, &CQuickplayRelay::QuickplayFinished);
}
void CQuickplayRelay::QuickplayFinished(int ReturnCode)