Changeset 793 for trunk/src


Ignore:
Timestamp:
Oct 13, 2010, 12:27:45 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: QFSFileEngine::fileFlags(): If nothing is requested but Refresh (or even no Refresh), there is nothing to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qfsfileengine_os2.cpp

    r716 r793  
    679679    }
    680680
     681    if ((type & (FlagsMask | TypesMask | PermsMask) & ~Refresh) == 0) {
     682       // if nothing is requested but Refresh (or even no Refresh),
     683       // there is nothing to do
     684       return 0;
     685    }
     686
    681687    bool isRoot = isDriveRootPath(d->filePath) || isUncRootPath(d->filePath);
    682688    bool exists = d->doStat();
Note: See TracChangeset for help on using the changeset viewer.