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

List:       kde-commits
Subject:    KDE/kdepim/kdgantt
From:       Laurent Montel <montel () kde ! org>
Date:       2009-01-15 12:16:04
Message-ID: 1232021764.167260.4370.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 911367 by mlaurent:

Fix iterator


 M  +1 -1      kdganttsummaryhandlingproxymodel.cpp  


--- trunk/KDE/kdepim/kdgantt/kdganttsummaryhandlingproxymodel.cpp #911366:911367
@@ -52,7 +52,7 @@
 {
     //qDebug() << "cacheLookup("<<idx<<"), cache has " << cached_summary_items.count() << "items";
     QHash<QModelIndex,QPair<QDateTime,QDateTime> >::const_iterator it =
-        cached_summary_items.find( idx );
+        cached_summary_items.constFind( idx );
     if ( it != cached_summary_items.constEnd() ) {
         *result = *it;
         return true;
[prev in list] [next in list] [prev in thread] [next in thread] 

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