This patch is for solving:
Bug 403146 - Extracting suggests replacement file with info of destination file
I have tested with ark 19.04.0. It allows to have size and date of the source file from the archive, not the destination information.
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.