kwin: log debug message when starting xkill

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-13 11:10:18 +02:00
parent 04fd07eec7
commit cf8c8af824

View file

@ -46,14 +46,15 @@ KillWindow::~KillWindow()
void KillWindow::start()
{
if (m_proc->state() == QProcess::Running) {
kDebug(1212) << "xkill already started";
return;
}
if (m_xkill.isEmpty()) {
kWarning(1212) << "xkill not found";
return;
}
if (m_proc->state() == QProcess::Running) {
kDebug(1212) << "xkill already started";
return;
}
kDebug(1212) << "starting xkill";
m_proc->start(m_xkill);
}