Commit 6a30c582 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify

parent 029ab3ab
Pipeline #73303 passed with stage
in 41 minutes and 50 seconds
......@@ -1203,8 +1203,7 @@ void ComposerViewBase::cleanupAutoSave()
QDir autoSaveDir(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QLatin1String("/kmail2/autosave"));
// Filter out only this composer window's autosave files
QStringList autoSaveFilter;
autoSaveFilter << m_autoSaveUUID + QLatin1String("*");
const QStringList autoSaveFilter{m_autoSaveUUID + QLatin1String("*")};
autoSaveDir.setNameFilters(autoSaveFilter);
// Return the files to be removed
......
Supports Markdown
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