Commit 8ab379e1 authored by Albert Astals Cid's avatar Albert Astals Cid

Part away from deprecated QProcess::finished(int)

parent e2ece379
......@@ -59,7 +59,7 @@ void DVIExport::start(const QString &command, const QStringList &args, const QSt
process_->setOutputChannelMode(KProcess::MergedChannels);
process_->setNextOpenMode(QIODevice::Text);
connect(process_, &KProcess::readyReadStandardOutput, this, &DVIExport::output_receiver);
connect(process_, static_cast<void (KProcess::*)(int)>(&KProcess::finished), this, &DVIExport::finished);
connect(process_, QOverload<int, QProcess::ExitStatus>::of(&KProcess::finished), this, &DVIExport::finished);
*process_ << command << args;
......
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