summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-12-15 01:56:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-12-15 01:56:34 +0100
commit47bbb9e40bae4d9692aca35cbfdcdbf4b44a110d (patch)
treec58517d15b38f23c55b48d2ae604304d8d200255 /tdeio
parent23006eeac7dfda592ef3414b8e8856d550f548a0 (diff)
downloadtdelibs-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.cpp2
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