Patch #2084 2007-06-29 02:11

rickg22

Patch for bugs #11433 and #11460 *tested*
Download
2084-Patch_for_bugs.patch (771 bytes)
Category
Plugin::Bugfix
Status
Rejected
Close date
2007-07-03 09:14
Assigned to
 
Index: src/plugins/codecompletion/classbrowserbuilderthread.cpp
===================================================================
--- src/plugins/codecompletion/classbrowserbuilderthread.cpp    (revision 4196)
+++ src/plugins/codecompletion/classbrowserbuilderthread.cpp    (working copy)
@@ -185,8 +185,10 @@
     m_pTreeTop->Freeze();
     m_pTreeBottom->Freeze();
 
-    RemoveInvalidNodes(m_pTreeTop, root);
-    RemoveInvalidNodes(m_pTreeBottom, m_pTreeBottom->GetRootItem());

+    m_pTreeTop->DeleteChildren(m_pTreeTop->GetRootItem());
+    m_pTreeBottom->DeleteChildren(m_pTreeBottom->GetRootItem());
+    // RemoveInvalidNodes(m_pTreeTop, root);
+    // RemoveInvalidNodes(m_pTreeBottom, m_pTreeBottom->GetRootItem());
 
     if (TestDestroy() || Manager::IsAppShuttingDown())
     {
mandrav 2007-07-03 09:14

As discussed, this is not a solution.