Commit 39a18829 authored by Farid Boudedja's avatar Farid Boudedja

Hide writing progress when KAuth job finishes with error

parent 8bc2c9c4
......@@ -649,5 +649,8 @@ void MainWindow::finished(KJob* job) {
qCDebug(ISOIMAGEWRITER_LOG) << "finished() " << job->error();
KAuth::ExecuteJob *job2 = (KAuth::ExecuteJob *)job;
qCDebug(ISOIMAGEWRITER_LOG) << "finished() " << job2->data();
if (job->error() != 0)
hideWritingProgress();
}
#endif
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