Commit 1f24aec0 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

create QStringList in one pass

parent ae2ec34c
......@@ -154,8 +154,7 @@ bool ClearFormCompletionAction::action()
bool ClearWebCacheAction::action()
{
QStringList lst;
lst << QStringLiteral("--clear-all");
const QStringList lst { QStringLiteral("--clear-all") };
return QProcess::startDetached(QFile::decodeName(KDE_INSTALL_FULL_LIBEXECDIR_KF5 "/kio_http_cache_cleaner"), lst);
}
......
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