Commit 5ea754d7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

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

parents ab6de4ee 095a9fc0
......@@ -14,6 +14,7 @@
<developer_name xml:lang="fi">KDE-yhteisö</developer_name>
<developer_name xml:lang="fr">La communauté KDE</developer_name>
<developer_name xml:lang="gl">A comunidade de KDE</developer_name>
<developer_name xml:lang="ia">Le communitate de KDE</developer_name>
<developer_name xml:lang="id">Komunitas KDE</developer_name>
<developer_name xml:lang="it">La comunità KDE</developer_name>
<developer_name xml:lang="ko">KDE 커뮤니티</developer_name>
......@@ -78,6 +79,7 @@
<summary xml:lang="fi">Sähköpostisovellus.</summary>
<summary xml:lang="fr">Une application de courriel riche en fonctionnalités</summary>
<summary xml:lang="gl">Unha aplicación de correo electrónico con moitas funcionalidades</summary>
<summary xml:lang="ia">Un application de e-posta ric de characteristicas</summary>
<summary xml:lang="id">Sebuah aplikasi email yang kaya fitur</summary>
<summary xml:lang="it">Un programma di posta elettronica ricco di funzioni</summary>
<summary xml:lang="ko">다기능 이메일 프로그램</summary>
......@@ -245,6 +247,7 @@
<release version="5.13.2" date="2020-02-06"/>
<release version="5.13.1" date="2020-01-09"/>
<release version="5.13.0" date="2019-12-12"/>
......@@ -1699,11 +1699,11 @@ void KMKernel::cleanupTemporaryFiles()
const QStringList lst = dir.entryList(QStringList{QStringLiteral("messageviewer_*")});
qCDebug(KMAIL_LOG) << " list file to delete " << lst;
for (const QString &file : lst) {
QDir tempDir(QDir::tempPath() + QLatin1Char('/') + file);
if (!tempDir.removeRecursively()) {
fprintf(stderr, "%s was not removed .\n", qPrintable(tempDir.absolutePath()));
QFile tempFile(QDir::tempPath() + QLatin1Char('/') + file);
if (!tempFile.remove()) {
fprintf(stderr, "%s was not removed .\n", qPrintable(tempFile.fileName()));
} else {
fprintf(stderr, "%s was removed .\n", qPrintable(tempDir.absolutePath()));
fprintf(stderr, "%s was removed .\n", qPrintable(tempFile.fileName()));
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