Commit 318d903a authored by David Narváez's avatar David Narváez
Browse files

Register Copy Job in KIO's Job Tracker

Avoid registering KIO Jobs in shell's runController.

BUG: 284148
REVIEW: 103454
parent 66f0ade7
......@@ -45,7 +45,7 @@ class KIOExport : public StandardExporter
KUrl dest = KFileDialog::getSaveUrl();
if( !dest.isEmpty() ) { //We let KDE do the rest of the job including the notification
KIO::CopyJob* job = KIO::copy( source->file(), dest );
KDevelop::ICore::self()->runController()->registerJob( job );
KIO::getJobTracker()->registerJob( job );
}
}
......
Supports Markdown
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