Don't use deprecated overload of QProcess::ExitStatus

This commit is contained in:
baldurk
2019-07-09 12:15:01 +01:00
parent 85738ad571
commit dc7bf0f1fc
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -487,8 +487,8 @@ void CaptureDialog::vulkanLayerWarn_mouseClick()
process->waitForFinished(300);
// when the process exits, delete
QObject::connect(process, OverloadedSlot<int>::of(&QProcess::finished),
[process](int exitCode) { process->deleteLater(); });
QObject::connect(process, OverloadedSlot<int, QProcess::ExitStatus>::of(&QProcess::finished),
[process](int exitCode, QProcess::ExitStatus) { process->deleteLater(); });
}
}