Fix build on 4-x
PR: ports/71303 Submitted by: Ports Fury
This commit is contained in:
parent
03e0efcbea
commit
789dc93cc8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118014
1 changed files with 11 additions and 0 deletions
11
x11-themes/baghira/files/patch-baghira.cpp
Normal file
11
x11-themes/baghira/files/patch-baghira.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- style/baghira.cpp.orig Tue Aug 31 00:07:49 2004
|
||||
+++ style/baghira.cpp Thu Sep 2 12:57:28 2004
|
||||
@@ -1643,7 +1643,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() ) {
|
||||
flags |= Style_Sunken;
|
Loading…
Reference in a new issue