Review Request: Ignores dots at the beginning of a file name when suggesting a file name

Aaron J. Seigo aseigo at kde.org
Tue May 24 08:21:05 BST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101429/#review3473
-----------------------------------------------------------



kio/kio/renamedialog.cpp
<http://git.reviewboard.kde.org/r/101429/#comment2924>

    this means that "..aFile.tar.gz" will become ".1.aFile.tar.gz". i assume that's also not wanted, in which case all leading '.'s need to be ignored.


- Aaron J.


On May 23, 2011, 9:02 p.m., Matthias Fuchs wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101429/
> -----------------------------------------------------------
> 
> (Updated May 23, 2011, 9:02 p.m.)
> 
> 
> Review request for kdelibs and David Faure.
> 
> 
> Summary
> -------
> 
> This ensures that ".aFile.tar.gz" becomes ".aFile 1.tar.gz" instead of " 1.aFile.tar.gz".
> 
> I would also backport this to the 4.6 branch.
> 
> 
> Diffs
> -----
> 
>   kio/kio/renamedialog.cpp 9afb872 
> 
> Diff: http://git.reviewboard.kde.org/r/101429/diff
> 
> 
> Testing
> -------
> 
> Test with files with the following names "a", ".a", "aFile.tar", "aFile.tar.gz", ".aFile.tar.gz". Works as described.
> 
> 
> Thanks,
> 
> Matthias
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110524/de72998a/attachment.htm>


More information about the kde-core-devel mailing list