mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kinit: set the ASN binary to the program filename
altough the complete program path is more informative, setting it to the filename only matches the old behaviour Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ca2af71922
commit
0e16676993
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ int KLauncherAdaptor::kdeinit_exec_with_workdir(const QString &app, const QStrin
|
|||
foreach (const QString &it, env) {
|
||||
const int equalindex = it.indexOf(QLatin1Char('='));
|
||||
if (equalindex <= 0) {
|
||||
kWarning() << "Invalid environment variable" << it;
|
||||
kWarning() << "invalid environment variable" << it;
|
||||
continue;
|
||||
}
|
||||
const QString environmentvar = it.mid(0, equalindex);
|
||||
|
@ -179,7 +179,7 @@ int KLauncherAdaptor::kdeinit_exec_with_workdir(const QString &app, const QStrin
|
|||
m_kstartupinfoid = KStartupInfoId();
|
||||
m_kstartupinfoid.initId(startup_id.toLatin1());
|
||||
m_kstartupinfodata = KStartupInfoData();
|
||||
m_kstartupinfodata.setBin(appexe);
|
||||
m_kstartupinfodata.setBin(QFileInfo(appexe).fileName());
|
||||
process->start(appexe, args);
|
||||
sendSIStart();
|
||||
while (process->state() == QProcess::Starting) {
|
||||
|
|
Loading…
Add table
Reference in a new issue