[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kontact/src
From: Laurent Montel <montel () kde ! org>
Date: 2009-09-18 10:35:11
Message-ID: 1253270111.538918.20731.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1025306 by mlaurent:
Fix iterator
M +2 -2 mainwindow.cpp
--- trunk/KDE/kdepim/kontact/src/mainwindow.cpp #1025305:1025306
@@ -597,14 +597,14 @@
QList<KAction*> actionList = plugin->newActions();
QList<KAction*>::const_iterator listIt;
- for ( listIt = actionList.begin(); listIt != actionList.end(); ++listIt ) {
+ for ( listIt = actionList.constBegin(); listIt != actionList.constEnd(); ++listIt ) {
kDebug() << "Unplugging New actions" << (*listIt)->objectName();
mNewActions->menu()->removeAction( *listIt );
}
if ( mSyncActionsEnabled ) {
actionList = plugin->syncActions();
- for ( listIt = actionList.begin(); listIt != actionList.end(); ++listIt ) {
+ for ( listIt = actionList.constBegin(); listIt != actionList.constEnd(); ++listIt ) {
kDebug() << "Unplugging Sync actions" << (*listIt)->objectName();
mSyncActions->menu()->removeAction( *listIt );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic