diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-12-15 01:56:34 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-12-15 01:56:34 +0100 |
commit | 47bbb9e40bae4d9692aca35cbfdcdbf4b44a110d (patch) | |
tree | c58517d15b38f23c55b48d2ae604304d8d200255 /tdeio | |
parent | 23006eeac7dfda592ef3414b8e8856d550f548a0 (diff) | |
download | tdelibs-47bbb9e40bae4d9692aca35cbfdcdbf4b44a110d.tar.gz tdelibs-47bbb9e40bae4d9692aca35cbfdcdbf4b44a110d.zip |
Add '/run' folder to the slow freq polling directories list
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/kdirwatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeio/tdeio/kdirwatch.cpp b/tdeio/tdeio/kdirwatch.cpp index be55c7ea5..9849ff644 100644 --- a/tdeio/tdeio/kdirwatch.cpp +++ b/tdeio/tdeio/kdirwatch.cpp @@ -744,7 +744,7 @@ bool KDirWatchPrivate::useINotify( Entry* e ) bool KDirWatchPrivate::useStat(Entry* e) { - if ( e->path.path().startsWith("/media/") || (e->path.path() == "/media") + if ( e->path.path().startsWith("/media/") || e->path.path().startsWith("/run/") || (e->path.path() == "/media") || (TDEIO::probably_slow_mounted(e->path.path())) ) useFreq(e, m_nfsPollInterval); else |