Skip to content

Don't use a nested eventloop when renaming files

Ahmad Samir requested to merge work/ahmad/rename-files into master

Using a nested eventloop (started by KJob::exec()) meant that in case of file names conflict, the KIO::RenameDialog that is shown can't be accessed at all, as the eventloop of the job blocs all user input events.

Instead make the code async.

Reported by Alexander Volkov: frameworks/kio@fdb8e14e (comment 380644)

Merge request reports

Loading