Commit b4eebab0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against last qt5.15 without deprecated method

parent f528086b
......@@ -615,7 +615,7 @@ void KTimerJob::fire()
d->processes.append( proc );
connect(proc, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this, &KTimerJob::processExited);
if (!d->command.simplified ().isEmpty()) {
proc->start(d->command, QStringList());
emit fired( this );
if(proc->state() == QProcess::NotRunning) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment