Comment 15 for bug 550158

Revision history for this message
In , Dr. Robert Marmorstein (robert-narnia) wrote :

I think I've fixed this. The notedrag class was trying to connect a FileCopyJob to a signal which didn't exist. However, a "Kio::CopyJob" does have that signal. After I changed the FileCopyJob to a CopyJob, the cut/copy/paste problems went away.

FileCopyJob and CopyJob both inherit from Kio::Job. FileCopyJob is intended for copying/moving single files whereas CopyJob uses FileCopyJob to move entire directory structures. I don't see any problem with using a CopyJob in this situation, even though we are probably only copying a single file most of the time. The CopyJob class has much nicer external API (signals/slots and so forth).