[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/kblog
From: David Faure <faure () kde ! org>
Date: 2009-09-30 15:40:48
Message-ID: 1254325248.494449.20597.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029720 by dfaure:
fix compilation with strict iterators
M +2 -2 movabletype.cpp
--- trunk/KDE/kdepimlibs/kblog/movabletype.cpp #1029719:1029720
@@ -384,8 +384,8 @@
} else {
QList<QVariant> categoryList = result[ 0 ].toList();
QList<QString> newCatList;
- QList<QVariant>::ConstIterator it = categoryList.begin();
- QList<QVariant>::ConstIterator end = categoryList.end();
+ QList<QVariant>::ConstIterator it = categoryList.constBegin();
+ QList<QVariant>::ConstIterator end = categoryList.constEnd();
for ( ;it!=end;it++ ) {
newCatList << ( *it ).toMap()[ "categoryName" ].toString();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic