summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-23 18:54:45 +0200
committerMontel Laurent <[email protected]>2017-04-23 18:54:45 +0200
commit39c2ebc93bdaa321c9e2a30cbc1201f92e8b72cf (patch)
treeb9d27b5df9f45c75954b909bf93f5c981f7c280a
parentf0620dea1787a6d53c5440f73c2ec11448b5ce8a (diff)
Minor optimum
-rw-r--r--resources/maildir/libmaildir/maildir.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/maildir/libmaildir/maildir.cpp b/resources/maildir/libmaildir/maildir.cpp
index 32c9971..7896795 100644
--- a/resources/maildir/libmaildir/maildir.cpp
+++ b/resources/maildir/libmaildir/maildir.cpp
@@ -407,8 +407,7 @@ QStringList Maildir::entryList() const
{
QStringList result;
if (isValid()) {
- result = d->listNew();
- result += d->listCurrent();
+ result = d->listNew() + d->listCurrent();
}
// qCDebug(LIBMAILDIR_LOG) <<"Maildir::entryList()" << result;
return result;