[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeplasma-addons/applets/leavenote
From: Laurent Montel <montel () kde ! org>
Date: 2009-10-06 11:26:21
Message-ID: 1254828381.403244.21938.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1031880 by mlaurent:
const'ify
M +2 -2 leavenote.cpp
--- trunk/KDE/kdeplasma-addons/applets/leavenote/leavenote.cpp #1031879:1031880
@@ -238,8 +238,8 @@
}
/* now we can empty the message cache */
- QList<QHash<QString, QVariant> >::iterator i;
- for (i = mMsgCache.begin(); i != mMsgCache.end(); ++i) {
+ QList<QHash<QString, QVariant> >::const_iterator i;
+ for (i = mMsgCache.constBegin(); i != mMsgCache.constEnd(); ++i) {
createNote((*i)["title"].toString(),
(*i)["msg"].toString());
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic