summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-11 10:43:03 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-11 10:43:03 (GMT)
commitd3501210460da795b6001612a41634e151c0bafb (patch)
tree17bae5b63527d906ae1ebce04fb9cfd0aadbd4df
parent80b2802d963d241d4ae2d46c8889523588fa0c6d (diff)
Use clear
-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 e8f2396..c97430c 100644
--- a/resources/pop3/pop3resource.cpp
+++ b/resources/pop3/pop3resource.cpp
@@ -693,7 +693,7 @@ bool POP3Resource::shouldDeleteId(int downloadedId) const
if (Settings::self()->leaveOnServer()) {
if (!idsToSaveValid) {
idsToSaveValid = true;
- idsToSave = QSet<int>();
+ idsToSave.clear();
const QSet<int> idsOnServer = QSet<int>::fromList(mIdsToSizeMap.keys());