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

List:       kde-commits
Subject:    branches/marble/marble-1.1/src/plugins/render/mapscale
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2011-03-31 19:37:07
Message-ID: 20110331193707.D797EAC8CD () svn ! kde ! org
[Download RAW message or body]

SVN commit 1226654 by nienhueser:

Don't eat all events when disabled/invisible. Fixes marble widget becoming unusable \
when disabling the scale bar.


 M  +1 -1      MapScaleFloatItem.cpp  


--- branches/marble/marble-1.1/src/plugins/render/mapscale/MapScaleFloatItem.cpp \
#1226653:1226654 @@ -359,7 +359,7 @@
 bool MapScaleFloatItem::eventFilter( QObject *object, QEvent *e )
 {
     if ( !enabled() || !visible() ) {
-        return true;
+        return false;
     }
 
     if( e->type() == QEvent::ContextMenu )


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

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