[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 21:06:40
Message-ID: 20040823210640.9C2B91EB9 () office ! kde ! org
[Download RAW message or body]

CVS commit by brade: 

Believe it or not: This fixes _all_ my known crashes in the treeview. I still
haven't understood it completely and thus think that there is some wasted CPU
cycles or similar but the gist is that the root item that listView() wants to
access is not available anymore or deleted already at the point where the
listviewitem destructor is called. Phew, now I can have a good night's sleep :)


  M +1 -1      konq_treeviewitem.cc   1.19


--- kdebase/konqueror/listview/konq_treeviewitem.cc  #1.18:1.19
@@ -45,5 +45,5 @@ KonqListViewDir::KonqListViewDir( KonqTr
 KonqListViewDir::~KonqListViewDir()
 {
-  static_cast<KonqTreeViewWidget *>(listView())->removeSubDir( item()->url() );
+  static_cast<KonqTreeViewWidget *>(m_pListViewWidget)->removeSubDir( item()->url() );
 }
 


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

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