From 9f0f7accc6a8b7ee99cebf34a9c575ab53aecfa7 Mon Sep 17 00:00:00 2001 From: Gioele Barabucci Date: Sat, 29 Jun 2002 15:05:20 +0000 Subject: [PATCH] KShellProcess -> KProcess + setUseShell(true) svn path=/trunk/kdebase/kdm/; revision=163814 --- workspace.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index 0a9971a131..ae28884864 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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); } } }