Part away from deprecated QProcess::finished(int)

remotes/origin/work/aacid/shorcutslost_2008
Albert Astals Cid 6 years ago
parent e2ece3793e
commit 8ab379e178
  1. 2
      generators/dvi/dviexport.cpp

@ -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;

Loading…
Cancel
Save