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

List:       kde-commits
Subject:    KDE/kdepim/akonadi/akonadiconsole
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2009-07-27 16:44:30
Message-ID: 1248713070.170916.9026.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1003094 by skelly:

Pass modeltest in a hacky way for now.

EntityTreeModel doesn't handle columns > 1.

 M  +5 -1      akonadibrowsermodel.cpp  


--- trunk/KDE/kdepim/akonadi/akonadiconsole/akonadibrowsermodel.cpp #1003093:1003094
@@ -225,7 +225,11 @@
 {
   QVariant var = m_currentState->getData(item, column, role);
   if (!var.isValid())
-    return EntityTreeModel::getData(item, column, role);
+  {
+    if (column <1 )
+      return EntityTreeModel::getData(item, column, role);
+    return QString();
+  }
 
   return var;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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