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

pull/16/head
Francois Andriot 11 years ago committed by Slávek Banko
parent 23006eeac7
commit 47bbb9e40b

@ -744,7 +744,7 @@ bool KDirWatchPrivate::useINotify( Entry* e )
bool KDirWatchPrivate::useStat(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())) ) || (TDEIO::probably_slow_mounted(e->path.path())) )
useFreq(e, m_nfsPollInterval); useFreq(e, m_nfsPollInterval);
else else

Loading…
Cancel
Save