LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File further-desktop-icons-adjustment.patch of Package kdebase3 (Project openSUSE:Factory)

diff -wruN kdebase-3.5.10.orig/kdesktop/kfileividesktop.cpp kdebase-3.5.10/kdesktop/kfileividesktop.cpp
--- kdebase-3.5.10.orig/kdesktop/kfileividesktop.cpp	2007-01-15 14:32:10.000000000 +0300
+++ kdebase-3.5.10/kdesktop/kfileividesktop.cpp	2011-12-08 04:37:55.882918938 +0400
@@ -70,14 +70,13 @@
              ( m_shadow->shadowSettings() ) )->isEnabled() )
         return;
 
-    int spread = shadowThickness();
     QRect itemTextRect = textRect();
     QRect itemRect = rect();
 
-    itemTextRect.setBottom( itemTextRect.bottom() + spread );
-    itemTextRect.setRight( itemTextRect.right() + spread );
-    itemRect.setBottom( itemRect.bottom() + spread );
-    itemRect.setRight( itemRect.right() + spread );
+    itemTextRect.setBottom( itemTextRect.bottom() + 1);
+    itemTextRect.setRight( itemTextRect.right() );
+    itemRect.setBottom( itemRect.bottom() + 1 );
+    itemRect.setRight( itemRect.right() );
 
     setTextRect( itemTextRect );
     setItemRect( itemRect );