diff options
author | krion <krion@FreeBSD.org> | 2004-09-03 16:29:11 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-09-03 16:29:11 +0800 |
commit | 35938c07ff4f36bee6c5dc229de88bb857785102 (patch) | |
tree | 1b8f126fb818af57848423810233e1682692873a /x11-themes/baghira | |
parent | 562bf1e314bad1046212dc8d43f7a900d91ac4d1 (diff) | |
download | freebsd-ports-gnome-35938c07ff4f36bee6c5dc229de88bb857785102.tar.gz freebsd-ports-gnome-35938c07ff4f36bee6c5dc229de88bb857785102.tar.zst freebsd-ports-gnome-35938c07ff4f36bee6c5dc229de88bb857785102.zip |
Fix build on 4-x
PR: ports/71303
Submitted by: Ports Fury
Diffstat (limited to 'x11-themes/baghira')
-rw-r--r-- | x11-themes/baghira/files/patch-baghira.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-themes/baghira/files/patch-baghira.cpp b/x11-themes/baghira/files/patch-baghira.cpp new file mode 100644 index 000000000000..f553ce122acb --- /dev/null +++ b/x11-themes/baghira/files/patch-baghira.cpp @@ -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; |