Commit a4cf753d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

not necessary to use += operator here

parent ab19c34c
......@@ -407,7 +407,7 @@ QStringList Maildir::entryList() const
{
QStringList result;
if (isValid()) {
result += d->listNew();
result = d->listNew();
result += d->listCurrent();
}
// qCDebug(LIBMAILDIR_LOG) <<"Maildir::entryList()" << result;
......@@ -418,7 +418,7 @@ QStringList Maildir::listCurrent() const
{
QStringList result;
if (isValid()) {
result += d->listCurrent();
result = d->listCurrent();
}
return result;
}
......@@ -432,7 +432,7 @@ QStringList Maildir::listNew() const
{
QStringList result;
if (isValid()) {
result += d->listNew();
result = d->listNew();
}
return result;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment