Drop Qt5: Utils: Get rid of QOverload

Change-Id: I864bfb18668fd325badd34003adf494c7924f86b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Jarek Kobus
2022-07-19 22:32:39 +02:00
parent d7b248baec
commit 74ea4dc07d
10 changed files with 19 additions and 32 deletions

View File

@@ -99,14 +99,9 @@ public:
void reap()
{
m_timer.start();
connect(m_reaperSetup.m_process,
QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished),
this, &Reaper::handleFinished);
connect(m_reaperSetup.m_process, &QProcess::finished, this, &Reaper::handleFinished);
if (emitFinished())
return;
terminate();
}