Fix warning

icc-effect-5.14.5
Aleix Pol 2018-04-06 18:43:12 +02:00
parent 99376d38f6
commit d3f8b979a0
1 changed files with 1 additions and 1 deletions

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";
}