Fix for qfileinfo autotest: LocalDiskFile set also for non-existing file v4.6.0-tp1
authoraavit <qt-info@nokia.com>
Mon, 7 Sep 2009 09:14:12 +0000 (11:14 +0200)
committeraavit <qt-info@nokia.com>
Mon, 7 Sep 2009 09:53:22 +0000 (11:53 +0200)
commitc4c9b4457f0f760c1bf46dd8a309ab76eb128c1d
treea671bb0c55780928136cfd62bd94533653e490e0
parent6b7330ee075a62138f005492a6448059106554af
Fix for qfileinfo autotest: LocalDiskFile set also for non-existing file

Change 53576b4d3c3e7325d01efba6c4da80299492f2db introduced the
behaviour that QFSFileEngine sets LocalDiskFlag regardless of whether
the file exists or not, but it just did it for Windows. This change
makes fsengine for unix/mac behave likewise.

Reviewed-by: trustme
src/corelib/io/qfsfileengine_unix.cpp