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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/itemviews
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2009-04-25 23:41:07
Message-ID: 1240702867.355715.17747.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 959305 by cfeck:

Do not insert random widget into the widgetInIndex hash

BUG: 190024


 M  +1 -1      kwidgetitemdelegate.cpp  


--- trunk/KDE/kdelibs/kdeui/itemviews/kwidgetitemdelegate.cpp #959304:959305
@@ -177,7 +177,7 @@
 
 QPersistentModelIndex KWidgetItemDelegate::focusedIndex() const
 {
-    const QPersistentModelIndex idx = \
d->widgetPool->d->widgetInIndex[QApplication::focusWidget()]; +    const \
QPersistentModelIndex idx = \
d->widgetPool->d->widgetInIndex.value(QApplication::focusWidget());  if \
(idx.isValid()) {  return idx;
     }


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

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