Commit 3c18ded9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify

parent 0a0c8dc0
......@@ -86,8 +86,8 @@ void AutostartApp::slotAutostart()
qCWarning(KALARMAUTOSTART_LOG) << "No command line";
else
{
QString prog = args->arg(0);
QString exe = QStandardPaths::findExecutable(prog);
const QString prog = args->arg(0);
const QString exe = QStandardPaths::findExecutable(prog);
if (exe.isEmpty())
qCWarning(KALARMAUTOSTART_LOG) << "Executable not found:" << prog;
else
......
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