File fix-drag-n-drop.diff of Package kdelibs3

Index: kio/kioexec/main.cpp
===================================================================
--- kio/kioexec/main.cpp	(revision 574107)
+++ kio/kioexec/main.cpp	(revision 574108)
@@ -82,6 +82,9 @@
     for ( int i = 1; i < args->count(); i++ )
     {
         KURL url = args->url(i);
+        // we need to map system:/ etc to make sure we get this right
+        url = KIO::NetAccess::mostLocalURL( url, 0 );
+
         //kdDebug() << "url=" << url.url() << " filename=" << url.fileName() << endl;
         // A local file, not an URL ?
         // => It is not encoded and not shell escaped, too.
openSUSE Build Service is sponsored by