fix KMountPoint::List::findByPath() for non-existing file argument
author Stefan Majewsky
()
committer Stefan Majewsky
()
commit 3a9f4b2a5aecec78a980e9da86934739bfd3e002
tree b9d94888991e8bc3bdab0b04dde37a90c0871e26
parent 63ac1bc4d3295a98e4630f7f9892b0acdf422627
fix KMountPoint::List::findByPath() for non-existing file argument

dfaure says this is a porting bug because of moving from KStandardDirs
functionality to QFileInfo::canonicalFilePath(). The latter returns
empty if the file does not exist.

But this usecase is important for KIO::CopyJob: It wants to check the
available space on the target mount point.
kdecore/io/kmountpoint.cpp