Short term fix for the local portgroup showing up as disconnected at startup

This commit is contained in:
Srivats P. 2010-07-15 03:11:07 +05:30
parent c2fac2db70
commit 8c0bfa8403

View File

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