Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > ee5019e51831f214d532979b59ea2d61 > files > 6

kdelibs-3.4.2-31.4.20060mdk.src.rpm

--- kdelibs-3.2/kio/kfile/kpropertiesdialog.cpp--	2004-03-31 18:22:33.635553518 +0200
+++ kdelibs-3.2/kio/kfile/kpropertiesdialog.cpp	2004-03-31 18:32:22.075794240 +0200
@@ -1938,8 +1938,13 @@ KFilePermissionsPropsPlugin::~KFilePermi
   delete d;
 }
 
-bool KFilePermissionsPropsPlugin::supports( KFileItemList /*_items*/ )
+bool KFilePermissionsPropsPlugin::supports( KFileItemList _items )
 {
+  for (KFileItemListIterator it(_items); it.current(); ++it) {
+    if ( (*it)->url().protocol().find("device", 0, false)!=-1)
+      return false;
+  }
+
   return true;
 }