[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdebase/runtime/kstyles/oxygen/transitions
From: Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date: 2010-05-30 16:15:33
Message-ID: 20100530161533.4BB2EAC8C3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1132414 by hpereiradacosta:
Backport r1132411
Do not trigger widget grab on paintEvent
CCBUG: 220621
M +3 -5 oxygencomboboxdata.cpp
--- branches/KDE/4.4/kdebase/runtime/kstyles/oxygen/transitions/oxygencomboboxdata.cpp \
#1132413:1132414 @@ -68,12 +68,10 @@
switch( event->type() )
{
- case QEvent::Paint:
- if( transition().data()->endPixmap().isNull() && !recursiveCheck() )
- { timer_.start( 0, this ); }
- break;
+ case QEvent::Show:
case QEvent::Resize:
+ case QEvent::Move:
if( !recursiveCheck() && target_.data()->isVisible() )
{ timer_.start( 0, this ); }
break;
@@ -92,7 +90,7 @@
{
timer_.stop();
- if( enabled() && transition() && target_ && \
!target_.data()->isEditable() ) + if( enabled() && transition() && target_ \
&& !target_.data()->isVisible() ) {
setRecursiveCheck( true );
transition().data()->setEndPixmap( transition().data()->grab( \
target_.data(), targetRect() ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic