Changed QProcess()::start() to the overloaded version which plays nice with spaces in the pathname

Fixes issue 9
This commit is contained in:
Srivats P. 2010-09-15 20:58:10 +05:30
parent be77148b11
commit d8b9844dac

View File

@ -55,7 +55,7 @@ MainWindow::MainWindow(QWidget *parent)
localServer_ = new QProcess(this);
localServer_->setProcessChannelMode(QProcess::ForwardedChannels);
localServer_->start(serverApp);
localServer_->start(serverApp, QStringList());
// TODO: waitForReadyRead() is a kludge till we implement auto-retry!
localServer_->waitForReadyRead(1000);