https://bugs.kde.org/show_bug.cgi?id=49698





--- Comment #18 from Alex Alexandrov <swined gmail com>  2011-04-15 13:36:25 ---
another, even better, path for this:

diff --git a/knode/knarticlemanager.cpp b/knode/knarticlemanager.cpp
index 46d1b69..94dc3ab 100644
--- a/knode/knarticlemanager.cpp
+++ b/knode/knarticlemanager.cpp
@@ -276,22 +276,7 @@ void KNArticleManager::showHdrs(bool clear)

    }

-    if (current && !current->filterResult()) {   // try to find a
parent that is visible
-      int idRef;
-      while (current && !current->filterResult()) {
-        idRef=current->idRef();
-        if (idRef == -1)
-          break;
-        current = g_roup->byId(idRef);
-      }
-    }
-
-    if(current && current->filterResult()) {
-      if(!current->listItem())
-        createCompleteThread(current);
-      v_iew->setActive( current->listItem() );
-      setFirstChild=false;
-    }
+     setFirstChild = !current;

    d_isableExpander=false;

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to