summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-11 09:47:13 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-11 09:47:13 (GMT)
commitbeef1f2b2d817c37e73e0fd83eb01ccd10f65392 (patch)
tree294291a295c505c0af8b0572d686c9762ace0d0d
parenta4b8d5056a2620e6f3324583311bae63c9461a47 (diff)
const'ify
-rw-r--r--resources/pop3/pop3resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/pop3/pop3resource.cpp b/resources/pop3/pop3resource.cpp
index 2a55659..e8f2396 100644
--- a/resources/pop3/pop3resource.cpp
+++ b/resources/pop3/pop3resource.cpp
@@ -776,7 +776,7 @@ void POP3Resource::deleteJobResult(KJob *job)
QList<int> timeOfSeenUids = Settings::self()->seenUidTimeList();
Q_ASSERT(seenUIDs.size() == timeOfSeenUids.size());
foreach (int deletedId, mDeletedIDs) {
- QString deletedUID = mIdsToUidsMap.value(deletedId);
+ const QString deletedUID = mIdsToUidsMap.value(deletedId);
if (!deletedUID.isEmpty()) {
int index = seenUIDs.indexOf(deletedUID);
if (index != -1) {