Workaround for leading slash returned by QUrl::toDisplayString(QUrl::PreferLocalFile) untill fixed in Qt

Review Request #126764 - Created Jan. 15, 2016 and discarded

Information
Kåre Särs
kio
Reviewers
kdeframeworks

The KUrlRequester has an extra leading slash when a local url is set. This is due to strange behaviour of QUrl::toDisplayString(QUrl::PreferLocalFile) on Windows. There is a bug report for the problem on https://bugreports.qt.io/browse/QTBUG-41729 but somebody has to do the actual fixing ;) Untill it is fixed this is a workaround for this place.

Kate on windows does not now have a leading slash in the Search in files KUrlRequester

Kevin Funk
Kåre Särs
Review request changed

Status: Discarded

Loading...