patch for KFileDialog silliness

Rob Bayer rob.bayer at gmail.com
Thu Apr 2 18:15:15 CEST 2009


> I've overseen that it's "\\/" - but what is this for? Do we really have such path separators?? Strange...

KFileDialog will normally interpret any filter containing a '/' as a
mime filter ("text/plain", etc), but you can override that behavior by
escaping it with a '\'.  Qt's FileDialog stuff doesn't recognize this
so it just prints the whole "\/" if you don't strip the escaping '\'
from the list which looks rather odd.  See
http://api.kde.org/4.0-api/kdelibs-apidocs/kio/html/classKFileDialog.html#715e45099822135eeab4fd3ba828bc4a


Rob


More information about the Kde-windows mailing list