File r878674.diff of Package kdebase4-runtime
Subject: oxygen: draw focus rect only for k3listview
From: wstephenson@suse.de
Bug:
Patch-upstream: 878674
--- kstyles/oxygen/oxygen.cpp (revision 878673)
+++ kstyles/oxygen/oxygen.cpp (revision 878674)
@@ -2127,10 +2127,10 @@ void OxygenStyle::drawKStylePrimitive(Wi
p->drawRect(r.adjusted(0,0,-1,-1));
p->setPen(pen);
p->drawRect(r.adjusted(0,0,-1,-1));
-
- // we don't want the stippled focus indicator in oxygen
- return;
}
+ // we don't want the stippled focus indicator in oxygen
+ if (!widget->inherits("Q3ListView"))
+ return;
}
default:
Index: kstyles/oxygen/oxygen.cpp
===================================================================