forked from qt-creator/qt-creator
Drop Qt5: Utils: Get rid of QOverload
Change-Id: I864bfb18668fd325badd34003adf494c7924f86b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user