KDirModel: use moveAs instead of Rename when editing file name
When renaming a file on the desktop to an existing filename, the operation previously failed with a generic error instead of showing the expected "file already exists" dialog. This change ensures consistent behavior with renaming in the file manager.
FIXED-IN: 6.18
Edited by Pan Zhang