Fix warning

This commit is contained in:
Aleix Pol 2018-04-06 18:43:12 +02:00
parent 99376d38f6
commit d3f8b979a0

View file

@ -272,7 +272,7 @@ void KeyboardLayout::reinitNotifierMenu()
p->setProgram(QStringLiteral("kcmshell5"));
connect(p, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), p, &QProcess::deleteLater);
connect(p, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::error), this,
[p] (QProcess::ProcessError e) {
[] (QProcess::ProcessError e) {
if (e == QProcess::FailedToStart) {
qCDebug(KWIN_CORE) << "Failed to start kcmshell5";
}