KProcess::setUseShell() doesn't make sense here.
svn path=/trunk/kdebase/kwin/; revision=192246
This commit is contained in:
parent
c930e4be78
commit
6a0c7144b6
1 changed files with 0 additions and 1 deletions
|
@ -3655,7 +3655,6 @@ void Workspace::restoreLegacySession( KConfig* config )
|
||||||
QCString wmClientMachine = config->readEntry( QString("clientMachine")+n ).latin1();
|
QCString wmClientMachine = config->readEntry( QString("clientMachine")+n ).latin1();
|
||||||
if ( !wmCommand.isEmpty() && !wmClientMachine.isEmpty() ) {
|
if ( !wmCommand.isEmpty() && !wmClientMachine.isEmpty() ) {
|
||||||
KProcess proc;
|
KProcess proc;
|
||||||
proc.setUseShell(true);
|
|
||||||
if ( wmClientMachine != "localhost" )
|
if ( wmClientMachine != "localhost" )
|
||||||
proc << "xon" << wmClientMachine;
|
proc << "xon" << wmClientMachine;
|
||||||
proc << QString::fromLatin1( wmCommand );
|
proc << QString::fromLatin1( wmCommand );
|
||||||
|
|
Loading…
Reference in a new issue