[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kstyles/keramik
From:       Maks Orlovich <maksim () kde ! org>
Date:       2004-05-07 15:54:24
Message-ID: 20040507155424.A5394226E () office ! kde ! org
[Download RAW message or body]

CVS commit by orlovich: 

Don't try to draw toolbar gradient on toolbar menus. (Oops).  Did something change \
with how they are  parent recently. (HC has the same issue, BTW)


  M +3 -2      keramik.cpp   1.126


--- kdelibs/kstyles/keramik/keramik.cpp  #1.125:1.126
@@ -2847,5 +2847,6 @@ bool KeramikStyle::eventFilter( QObject*
                 return false;   // Now draw the contents
         }
-        else if (event->type() == QEvent::Paint  &&  object->parent() && \
::qt_cast<QToolBar*>(object->parent())) +        else if (event->type() == \
QEvent::Paint  &&  object->parent() && ::qt_cast<QToolBar*>(object->parent())  +      \
&& !::qt_cast<QPopupMenu*>(object) )  {
                 // We need to override the paint event to draw a


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic