Changeset 947


Ignore:
Timestamp:
Aug 8, 2011, 9:35:15 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: Added debugging to QFilleSystemWatcher impl.

File:
1 edited

Legend:

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

    r946 r947  
    4242****************************************************************************/
    4343
     44
     45
    4446#include "qfilesystemwatcher.h"
    4547#include "qfilesystemwatcher_os2_p.h"
     
    5153
    5254#include "qdebug.h"
     55
     56
     57
     58
     59
    5360
    5461// OS/2 has the Dos*ChangeNotify API for file system change notifications but
     
    212219        arc = DosQueryPathInfo(QFile::encodeName(path), FIL_STANDARD,
    213220                               &newInfo, sizeof(newInfo));
     221
    214222        if (arc == NO_ERROR)
    215223            watchedPaths.insert(path, newInfo);
     
    228236
    229237    foreach (const QString &path, paths) {
     238
    230239        watchedPaths.remove(path);
    231240    }
     
    255264
    256265        locker.relock();
     266
     267
    257268
    258269        for (PathMap::iterator it = watchedPaths.begin();
     
    273284                newInfo.attrFile != info.attrFile) {
    274285                // there was a change, memorize it and update the info
     286
    275287                changedPaths << path;
    276288                info = newInfo;