From 47bbb9e40bae4d9692aca35cbfdcdbf4b44a110d Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sun, 15 Dec 2013 01:56:34 +0100 Subject: [PATCH] Add '/run' folder to the slow freq polling directories list --- tdeio/tdeio/kdirwatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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