freebsd-ports/x11-themes/baghira/files/patch-baghira.cpp
Tilman Keskinoz c9f4ca4e26 Update to 0.6
PR:		73974
Submitted by:	Miguel Mendez <flynn@energyhq.es.eu.org>
2004-12-04 18:22:09 +00:00

11 lines
597 B
C++

--- style/baghira.cpp.orig Thu Nov 11 05:55:20 2004
+++ style/baghira.cpp Fri Nov 19 21:21:49 2004
@@ -1597,7 +1597,7 @@
const QPushButton *btn = ( const QPushButton* ) widget;
int x, y, w, h;
r.rect( &x, &y, &w, &h );
- bool highlighted = btn->isOn() || btn->isDown() || btn->hasFocus() || btn == highlightWidget;
+ bool highlighted = btn->isOn() || btn->isDown() || btn->hasFocus() || btn == ( const QPushButton* ) highlightWidget;
if ( btn->isOn() || btn->isDown() )
{