Commit d1108252 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Fix clazy warning and deprecation

parent cee40b3e
......@@ -210,7 +210,7 @@ Startup::Startup(QObject *parent):
upAndRunning(QStringLiteral("ksmserver"));
const AutoStart autostart;
QProcess::execute(QStringLiteral(CMAKE_INSTALL_FULL_LIBEXECDIR_KF5 "/start_kdeinit_wrapper"));
QProcess::execute(QStringLiteral(CMAKE_INSTALL_FULL_LIBEXECDIR_KF5 "/start_kdeinit_wrapper"), QStringList());
KJob* phase1;
QProcessEnvironment kdedProcessEnv;
......
......@@ -210,7 +210,7 @@ void runEnvironmentScripts()
continue;
}
const auto dirScripts = dir.entryInfoList({QStringLiteral("*.sh")}, QDir::Files, QDir::Name);
for (const auto script : dirScripts) {
for (const auto &script : dirScripts) {
scripts << script.absoluteFilePath();
}
}
......
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