mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kwin: log debug message when starting xkill
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
04fd07eec7
commit
cf8c8af824
1 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue