mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kinit: send ASN start before starting the program
now that ASN update is send from signal it was possible update to be send before start Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
7b2a33efec
commit
96de7d5684
1 changed files with 1 additions and 1 deletions
|
@ -181,8 +181,8 @@ int KLauncherAdaptor::kdeinit_exec_with_workdir(const QString &app, const QStrin
|
|||
m_kstartupinfoid.initId(startup_id.toLatin1());
|
||||
m_kstartupinfodata = KStartupInfoData();
|
||||
m_kstartupinfodata.setBin(QFileInfo(appexe).fileName());
|
||||
process->start(appexe, args);
|
||||
sendSIStart();
|
||||
process->start(appexe, args);
|
||||
while (process->state() == QProcess::Starting) {
|
||||
QApplication::processEvents(QEventLoop::AllEvents, s_eventstime);
|
||||
QThread::msleep(s_sleeptime);
|
||||
|
|
Loading…
Add table
Reference in a new issue