[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdebase/runtime/kstyles/oxygen
From: Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date: 2010-04-20 21:57:16
Message-ID: 20100420220007.036A5AC89E () svn ! kde ! org
[Download RAW message or body]
SVN commit 1117024 by hpereiradacosta:
Backport r1117023
Do not draw hover/focus frame for disabled 'input' frames.
M +2 -2 oxygen.cpp
--- branches/KDE/4.4/kdebase/runtime/kstyles/oxygen/oxygen.cpp #1117023:1117024
@@ -3541,8 +3541,8 @@
{
const bool isInputWidget( widget && widget->testAttribute( Qt::WA_Hover ) );
- const bool hoverHighlight( isInputWidget && (flags&State_MouseOver) );
- const bool focusHighlight( isInputWidget && (flags&State_HasFocus) );
+ const bool hoverHighlight( enabled && isInputWidget && (flags&State_MouseOver) );
+ const bool focusHighlight( enabled && isInputWidget && (flags&State_HasFocus) );
// assume focus takes precedence over hover
animations().lineEditEngine().updateState( widget, Oxygen::AnimationFocus, focusHighlight );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic