Commit 7305e7b0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Merge remote-tracking branch 'origin/release/20.04'

parents 8822381d 98765e8e
......@@ -121,7 +121,7 @@ void ArchiveMailManager::backupDone(ArchiveMailInfo *info)
if (lst.count() > info->maximumArchiveCount()) {
const int diff = (lst.count() - info->maximumArchiveCount());
for (int i = 0; i < diff; ++i) {
const QString fileToRemove(info->url().path() + QDir::separator() + lst.at(i));
const QString fileToRemove(info->url().path() + QLatin1Char('/') + lst.at(i));
qCDebug(ARCHIVEMAILAGENT_LOG) << " file to remove " << fileToRemove;
QFile::remove(fileToRemove);
}
......
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