From 21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Thu, 10 Nov 2011 18:04:39 -0500 Subject: initial commit to suse branch: eclipse integration --- opensuse/core/tdelibs/stat-on-media.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 opensuse/core/tdelibs/stat-on-media.diff (limited to 'opensuse/core/tdelibs/stat-on-media.diff') diff --git a/opensuse/core/tdelibs/stat-on-media.diff b/opensuse/core/tdelibs/stat-on-media.diff new file mode 100644 index 000000000..c8f25a9c8 --- /dev/null +++ b/opensuse/core/tdelibs/stat-on-media.diff @@ -0,0 +1,14 @@ +Index: kio/kio/kdirwatch.cpp +=================================================================== +--- kio/kio/kdirwatch.cpp.orig ++++ kio/kio/kdirwatch.cpp +@@ -743,7 +743,8 @@ bool KDirWatchPrivate::useINotify( Entry + + 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); -- cgit v1.2.1