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

List:       kde-commits
Subject:    kdelibs/kdefx
From:       Maks Orlovich <maksim () kde ! org>
Date:       2004-01-06 4:30:23
Message-ID: 20040106043023.4B48C93A7 () office ! kde ! org
[Download RAW message or body]

CVS commit by orlovich: 

Only do the filled-frame workaround paint event interception/rewriting on \
ToolBarPanel and MenuBarPanel  frame shapes, and not all qframes; fixed problems \
w/completion boxes and ker reported by Ingo...


  M +3 -0      kstyle.cpp   1.46


--- kdelibs/kdefx/kstyle.cpp  #1.45:1.46
@@ -1774,4 +1774,7 @@ bool KStyle::eventFilter( QObject* objec
                                 && (frame = ::qt_cast<QFrame*>(object)) )
                 {
+                        if (frame->frameShape() != QFrame::ToolBarPanel && \
frame->frameShape() != QFrame::MenuBarPanel) +                                return \
false; +                                
                         bool horizontal = true;
                         QPaintEvent* pe = (QPaintEvent*)event;


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

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