diff --git a/install/patches/kde-base/kdelibs-4.3.0-1-samba-icon.patch b/install/patches/kde-base/kdelibs-4.3.0-1-samba-icon.patch new file mode 100644 index 0000000..3636ec4 --- /dev/null +++ b/install/patches/kde-base/kdelibs-4.3.0-1-samba-icon.patch @@ -0,0 +1,19 @@ +--- kdelibs-4.3.1.orig/kdecore/services/kfoldermimetype.cpp ++++ kdelibs-4.3.1/kdecore/services/kfoldermimetype.cpp +@@ -77,11 +77,11 @@ QString KFolderMimeTypePrivate::iconName( const KUrl& _url ) const + // There are also other directories with 0 size, such as /proc, that may + // be mounted, but those are unlikely to contain .directory (and checking + // this would require KMountPoint from kio). +- KDE_struct_stat buff; +- if (KDE_stat( QFile::encodeName( _url.toLocalFile()), &buff ) == 0 +- && S_ISDIR( buff.st_mode ) && buff.st_size == 0 ) { +- return KMimeTypePrivate::iconName( _url ); +- } ++ //KDE_struct_stat buff; ++ //if (KDE_stat( QFile::encodeName( _url.toLocalFile()), &buff ) == 0 ++ // && S_ISDIR( buff.st_mode ) && buff.st_size == 0 ) { ++ // return KMimeTypePrivate::iconName( _url ); ++ //} + + KUrl u( _url ); + u.addPath( ".directory" );