CQuickplayRelay: Make use of Qt 5 signals and slots
This commit is contained in:
parent
1be07ca571
commit
c7fbfb70e5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue