View | Details | Raw Unified | Return to bug 71303
Collapse All | Expand All

(-)x11-themes/baghira/files/patch-baghira.cpp (+11 lines)
Line 0 Link Here
1
--- style/baghira.cpp.orig	Tue Aug 31 00:07:49 2004
2
+++ style/baghira.cpp	Thu Sep  2 12:57:28 2004
3
@@ -1643,7 +1643,7 @@
4
 				const QPushButton *btn = ( const QPushButton* ) widget;
5
 				int x, y, w, h;
6
 				r.rect( &x, &y, &w, &h );
7
-				bool highlighted = btn->isOn() || btn->isDown() || btn->hasFocus() || btn == highlightWidget;
8
+				bool highlighted = btn->isOn() || btn->isDown() || btn->hasFocus() || btn == ( const QPushButton* ) highlightWidget;
9
 
10
 				if ( btn->isOn() || btn->isDown() ) {
11
 					flags |= Style_Sunken;

Return to bug 71303