Initial round of Qt5 deprecation fixes

This commit is contained in:
Allan Bazinet 2024-08-31 09:40:28 -07:00
parent 64b25605b3
commit e377385bfa
30 changed files with 204 additions and 216 deletions

View file

@ -136,7 +136,7 @@ void Worker::start(QString path, QStringList args){
}
});
connect(proc, static_cast<void (QProcess::*) (QProcess::ProcessError)> (&QProcess::error),
connect(proc, &QProcess::errorOccurred,
[this, proc] (QProcess::ProcessError errorCode) {
emit error(int(errorCode), proc->errorString());
});