On Sunday, December 20, 2015 07:19:50 PM Dominik Haumann wrote:
> Hi Kevin / all,
> 
> KUrlRequester::setUrl(QUrl url) calls
> url.toDisplayString(Qt::PreferLocalFile). This leads to locations like
> "/C:/....", i.e. a leading '/' is prepended.
> 
> This issue was once raised in
> http://lists.qt-project.org/pipermail/development/2014-August/018002.html
> but it seems that no action was taken, correct?
> 
> Due to this issue, the find in files plugin typically uses a path that
> does not work,
> i.e. one always has to remove '/' manually before doing the search.
> 
> Any Infos on this? Was a qt bug report ever filed?

Yes, there's a Qt bug:
  https://bugreports.qt.io/browse/QTBUG-41729

I've planned to work on it, but until now had "better" things to do ;)

Feel free to pick it up, and fix it properly inside Qt. A patch is likely be 
accepted, even if it changes the outcome of the toDisplayString method.

Cheers,
Kevin

-- 
Kevin Funk | kf...@kde.org | http://kfunk.org

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows

Reply via email to