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

List:       kde-commits
Subject:    KDE/kdeedu/ktouch/src
From:       Laurent Montel <montel () kde ! org>
Date:       2009-02-08 19:19:28
Message-ID: 1234120768.614731.25623.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 923447 by mlaurent:

Fix iterator


 M  +1 -1      ktouchstatisticsdialog.cpp  


--- trunk/KDE/kdeedu/ktouch/src/ktouchstatisticsdialog.cpp #923446:923447
@@ -145,7 +145,7 @@
     int levels_count = 0;
 	QSet<unsigned int>::iterator last_it = m_currSessionStats.m_levelNums.end();
 	--last_it;
-	for (QSet<unsigned int>::iterator it = m_currSessionStats.m_levelNums.begin();
+	for (QSet<unsigned int>::ConstIterator it = m_currSessionStats.m_levelNums.constBegin();
 		it != m_currSessionStats.m_levelNums.constEnd(); ++it)
 	{
 		// do we have a level number that is not a subsequent level of the
[prev in list] [next in list] [prev in thread] [next in thread] 

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