From c7fbfb70e59ffce69049f221533ad4b10b3ef747 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 07:06:58 -0400 Subject: [PATCH] CQuickplayRelay: Make use of Qt 5 signals and slots --- src/Editor/NDolphinIntegration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/NDolphinIntegration.cpp b/src/Editor/NDolphinIntegration.cpp index b61bf3df..8a0eb0d5 100644 --- a/src/Editor/NDolphinIntegration.cpp +++ b/src/Editor/NDolphinIntegration.cpp @@ -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(&QProcess::finished), this, &CQuickplayRelay::QuickplayFinished); } void CQuickplayRelay::QuickplayFinished(int ReturnCode)