[Bug 261645] Assert when changing the default theme [MessageList::Core::ModelPrivate::applyFilterToSubtree MessageList::Core::Model::setFilter MessageList::Core::Widget::statusSelected ]

Sergio Martins iamsergio at gmail.com
Sun Apr 17 22:17:40 BST 2011


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





--- Comment #4 from Sergio Martins <iamsergio gmail com>  2011-04-17 23:17:38 ---
This fixed it for me:

diff --git a/messagelist/core/model.cpp b/messagelist/core/model.cpp
index 446310c..10bfe22 100644
--- a/messagelist/core/model.cpp
+++ b/messagelist/core/model.cpp
@@ -353,6 +353,9 @@ void Model::setFilter( const Filter *filter )
     return;

   QModelIndex idx; // invalid
+  if ( !d->mViewItemJobs.isEmpty() ) {
+    return;
+  }

   QApplication::setOverrideCursor( Qt::WaitCursor );

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list