Add '/run' folder to the slow freq polling directories list

(cherry picked from commit 47bbb9e40b)
v3.5.13-sru
Francois Andriot 11 years ago committed by Slávek Banko
parent bfb89e3efe
commit 33f00925ff

@ -743,7 +743,7 @@ bool KDirWatchPrivate::useINotify( Entry* e )
bool KDirWatchPrivate::useStat(Entry* e)
{
if ( e->path.startsWith("/media/") || (e->path == "/media")
if ( e->path.startsWith("/media/") || e->path.startsWith("/run/") || (e->path == "/media")
|| (KIO::probably_slow_mounted(e->path)) )
useFreq(e, m_nfsPollInterval);
else

Loading…
Cancel
Save