Ignore:
Timestamp:
Feb 27, 2010, 12:25:29 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib/gui: Add support for watching drive list changes (represented by the empty or null string) to the polling file system watcher and use this feature in QFileDialog to get instant drive change notifications in "My Computer".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/dialogs/qfileinfogatherer.cpp

    r606 r613  
    302302    if (files.isEmpty()
    303303        && !watcher->directories().contains(path)
     304#if !defined(Q_OS_OS2)
    304305        && !path.isEmpty()
     306#endif
    305307        && !path.startsWith(QLatin1String("//")) /*don't watch UNC path*/) {
    306308        watcher->addPath(path);
Note: See TracChangeset for help on using the changeset viewer.