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

List:       kde-commits
Subject:    qt-copy/src/widgets
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2003-04-25 8:42:49
[Download RAW message or body]

CVS commit by wheeler: 

Don't try to show the item specified in QListView::ensureItemVisible() if
it has been hidden.  (Yes, I know the semantics are strange here.)  Already
accepted by the Trolls.


  M +1 -1      qlistview.cpp   1.57


--- qt-copy/src/widgets/qlistview.cpp  #1.56:1.57
@@ -6216,5 +6216,5 @@ bool QListView::rootIsDecorated() const
 void QListView::ensureItemVisible( const QListViewItem * i )
 {
-    if ( !i )
+    if ( !i || !i->isVisible() )
         return;
 


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

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