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

List:       kde-commits
Subject:    kdebase/konqueror/listview
From:       Michael Brade <brade () kde ! org>
Date:       2004-08-23 20:36:47
Message-ID: 20040823203647.052A6253E () office ! kde ! org
[Download RAW message or body]

CVS commit by brade: 

Saving a few more CPU cycles depending on the depth of the tree: listView()
walks up the tree to get the listview from the root.


  M +1 -1      konq_treeviewitem.cc   1.18


--- kdebase/konqueror/listview/konq_treeviewitem.cc  #1.17:1.18
@@ -57,5 +57,5 @@ void KonqListViewDir::open( bool _open, 
   if ( _open != isOpen() || _reload )
   {
-    KonqTreeViewWidget *treeView = static_cast<KonqTreeViewWidget *>(listView());
+    KonqTreeViewWidget *treeView = static_cast<KonqTreeViewWidget *>(m_pListViewWidget);
 
     if ( _open )


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

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