[patch] KFileWidget: fix changing the current dir using url combo box

David Faure faure at kde.org
Fri Apr 11 22:31:52 BST 2008


On Friday 11 April 2008, Jarosław Staniek wrote:
> 
> for review:
> 
> Fix changing the current dir using the 'recent url' combo box.
> Upon accepting new url in the 'directory' url combo box, append '/' if needed: 
> the combo does not add it, but tokenize() expects it because uses 
> KUrl::setFileName(), which would silently remove the last segment of the path.

So it should probably use addPath() instead of setFileName()?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list