KShellProcess -> KProcess + setUseShell(true)
svn path=/trunk/kdebase/kdm/; revision=163814
This commit is contained in:
parent
062d32c85a
commit
9f0f7accc6
1 changed files with 3 additions and 2 deletions
|
@ -3550,11 +3550,12 @@ void Workspace::restoreLegacySession( KConfig* config )
|
|||
QCString wmCommand = config->readEntry( QString("command")+n ).latin1();
|
||||
QCString wmClientMachine = config->readEntry( QString("clientMachine")+n ).latin1();
|
||||
if ( !wmCommand.isEmpty() && !wmClientMachine.isEmpty() ) {
|
||||
KShellProcess proc;
|
||||
KProcess proc;
|
||||
proc.setUseShell(true);
|
||||
if ( wmClientMachine != "localhost" )
|
||||
proc << "xon" << wmClientMachine;
|
||||
proc << QString::fromLatin1( wmCommand );
|
||||
proc.start(KShellProcess::DontCare);
|
||||
proc.start(KProcess::DontCare);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue