File stat-on-media.diff of Package kdelibs3

--- kio/kio/kdirwatch.cpp
+++ kio/kio/kdirwatch.cpp	2004/02/23 13:28:33
@@ -513,7 +513,8 @@
 
 bool KDirWatchPrivate::useStat(Entry* e)
 {
-  if (KIO::probably_slow_mounted(e->path))
+  if ( e->path.startsWith("/media/") || (e->path == "/media")
+       || (KIO::probably_slow_mounted(e->path)) )
     useFreq(e, m_nfsPollInterval);
   else
     useFreq(e, m_PollInterval);
openSUSE Build Service is sponsored by