mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kwin: minor Client::killProcess() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
94bed6baf5
commit
4e74fe086e
1 changed files with 1 additions and 1 deletions
|
@ -1350,7 +1350,7 @@ void Client::killProcess(bool ask, xcb_timestamp_t timestamp)
|
||||||
} else {
|
} else {
|
||||||
QString hostname = clientMachine()->isLocal() ? "localhost" : clientMachine()->hostName();
|
QString hostname = clientMachine()->isLocal() ? "localhost" : clientMachine()->hostName();
|
||||||
QProcess::startDetached(KStandardDirs::findExe("kwin_killer_helper"),
|
QProcess::startDetached(KStandardDirs::findExe("kwin_killer_helper"),
|
||||||
QStringList() << "--pid" << QByteArray().setNum(unsigned(pid)) << "--hostname" << hostname
|
QStringList() << "--pid" << QByteArray::number(qulonglong(pid)) << "--hostname" << hostname
|
||||||
<< "--windowname" << caption()
|
<< "--windowname" << caption()
|
||||||
<< "--applicationname" << resourceClass()
|
<< "--applicationname" << resourceClass()
|
||||||
<< "--wid" << QString::number(window())
|
<< "--wid" << QString::number(window())
|
||||||
|
|
Loading…
Add table
Reference in a new issue