mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kinit: delete finished processes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c181a8e25c
commit
8ce0f2ec3f
1 changed files with 1 additions and 0 deletions
|
@ -368,6 +368,7 @@ void KLauncherAdaptor::slotProcessFinished(int exitcode)
|
||||||
KLauncherProcess* process = qobject_cast<KLauncherProcess*>(sender());
|
KLauncherProcess* process = qobject_cast<KLauncherProcess*>(sender());
|
||||||
kDebug() << "process finished" << process << exitcode;
|
kDebug() << "process finished" << process << exitcode;
|
||||||
m_processes.removeAll(process);
|
m_processes.removeAll(process);
|
||||||
|
process->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString KLauncherAdaptor::findExe(const QString &app) const
|
QString KLauncherAdaptor::findExe(const QString &app) const
|
||||||
|
|
Loading…
Add table
Reference in a new issue