From dcc59ee2e60a13af319b37cd24b55328b343ef51 Mon Sep 17 00:00:00 2001 From: ptv Date: Fri, 1 Dec 2006 10:05:20 +0000 Subject: [PATCH] =?utf8?q?run=20external=20browser=20by=20=C3=82=C2=A8syst?= =?utf8?q?em=C3=82=C2=A8=20instead=20of=20QProcess.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/LightApp/LightApp_Application.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 35d88ac19..213cb9a7c 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -931,12 +931,12 @@ public: { aCommand.sprintf("%s %s %s",myApp.latin1(),myParams.latin1(),myHelpFile.latin1()); - QProcess* proc = new QProcess(); - proc->addArgument( aCommand ); - //myStatus = system(aCommand); + //QProcess* proc = new QProcess(); + //proc->addArgument( aCommand ); + myStatus = system(aCommand); - //if(myStatus != 0) - if(!proc->start()) + if(myStatus != 0) + //if(!proc->start()) { QCustomEvent* ce2000 = new QCustomEvent( 2000 ); QString* msg = new QString( QObject::tr("EXTERNAL_BROWSER_CANNOT_SHOW_PAGE").arg(myApp).arg(myHelpFile) ); -- 2.39.2