Commit 5b8d1ba4 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

--warning

parent 388a4a1b
......@@ -383,7 +383,7 @@ void PackageKitResource::runService(const QStringList &desktopFilePaths) const
{
for (const QString &desktopFilePath : desktopFilePaths) {
auto p = new QProcess(parent());
connect(p, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, [this, p](int exitCode, QProcess::ExitStatus exitStatus) {
connect(p, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, [this, p](int exitCode, QProcess::ExitStatus /*exitStatus*/) {
if (exitCode != 0) {
backend()->passiveMessage(i18n("Failed to start '%1'", KShell::joinArgs(p->arguments())));
}
......
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