Gui: move to new style connect()

This commit is contained in:
wmayer
2023-02-01 11:58:00 +01:00
committed by wwmayer
parent 25a63f8750
commit 2e5cb03261
43 changed files with 237 additions and 246 deletions

View File

@@ -69,10 +69,10 @@ bool Assistant::startAssistant()
{
if (!proc) {
proc = new QProcess();
connect(proc, SIGNAL(readyReadStandardOutput()),
this, SLOT(readyReadStandardOutput()));
connect(proc, SIGNAL(readyReadStandardError()),
this, SLOT(readyReadStandardError()));
connect(proc, &QProcess::readyReadStandardOutput,
this, &Assistant::readyReadStandardOutput);
connect(proc, &QProcess::readyReadStandardError,
this, &Assistant::readyReadStandardError);
}
if (proc->state() != QProcess::Running) {