https://bugs.kde.org/show_bug.cgi?id=403146

Papoteur <yves.brungard_mag...@gadz.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yves.brungard_mageia@gadz.o
                   |                            |rg

--- Comment #8 from Papoteur <yves.brungard_mag...@gadz.org> ---
Created attachment 125677
  --> https://bugs.kde.org/attachment.cgi?id=125677&action=edit
Patch for rename dialog

Here I propose a patch that I have tested here with ark 19.04.0. It allows to
have size an date of the source file from the archive, not the destination.
The modifications are :
- call overwriteQuery with the entry, not only the entry name.
- overloading the overwriteQuery to accept the entry.
- in case of call with query, call renameDialog with the name without
formatting it with fromLocalFile, and adding date and size of the source, read
from entry.

When QUrl is not a local file in renameDialog, displayed value are from the
parameters passed with the call.
I didn't managed to create an account to access to phabricator, thus I leave
the patch here.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to