[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkdepim-runtime=5D_migration/kres=3A_Build_with_QT?=
From: Christophe Giboudeaux <cgiboudeaux () gmail ! com>
Date: 2011-03-10 13:21:11
Message-ID: 20110310132111.090BEA60B0 () git ! kde ! org
[Download RAW message or body]
Git commit f59cf856463976e0a40cfd41d63def18f5162206 by Christophe Giboudeaux.
Committed on 10/03/2011 at 14:21.
Pushed by cgiboudeaux into branch 'master'.
Build with QT_STRICT_ITERATORS
M +3 -3 migration/kres/kresmigrator.h
http://commits.kde.org/kdepim-runtime/f59cf856463976e0a40cfd41d63def18f5162206
diff --git a/migration/kres/kresmigrator.h b/migration/kres/kresmigrator.h
index 2f6152b..fd05c33 100644
--- a/migration/kres/kresmigrator.h
+++ b/migration/kres/kresmigrator.h
@@ -70,14 +70,14 @@ template <typename T> class KResMigrator : public KResMigratorBase
mResourcesToMigrate.append( *it );
++it;
}
- mIt = mResourcesToMigrate.begin();
+ mIt = mResourcesToMigrate.constBegin();
}
migrateNext();
}
void migrateNext()
{
- while ( mIt != mResourcesToMigrate.end() ) {
+ while ( mIt != mResourcesToMigrate.constEnd() ) {
mUnknownTypeResources.remove( (*mIt)->identifier() );
if ( (*mIt)->type() == "akonadi" ) {
mClientBridgeIdentifier = (*mIt)->identifier();
@@ -113,7 +113,7 @@ template <typename T> class KResMigrator : public KResMigratorBase
++mIt;
}
if ( !mBridgeType.isEmpty() ) {
- if ( mIt == mResourcesToMigrate.end() ) {
+ if ( mIt == mResourcesToMigrate.constEnd() ) {
migrateBridged();
if ( mPendingBridgedResources.isEmpty() ) {
migrateUnknown();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic