From 5f64291ee14fb02caa0ff80a2e6ec6b52890357e Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 17 Jul 2018 15:48:09 +0200 Subject: [PATCH] remove non working code --- gui/yosystab.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/yosystab.cc b/gui/yosystab.cc index fba2362d..d83b969e 100644 --- a/gui/yosystab.cc +++ b/gui/yosystab.cc @@ -61,6 +61,7 @@ YosysTab::YosysTab(QString folder, QWidget *parent) : QWidget(parent) connect(process, SIGNAL(readyReadStandardError()), this, SLOT(onReadyReadStandardError())); connect(process, SIGNAL(readyReadStandardOutput()), this, SLOT(onReadyReadStandardOutput())); connect(process, &QProcess::started, this, [this] { lineEdit->setEnabled(true); }); +/* #if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) connect(process, &QProcess::error, this, [this](QProcess::ProcessError error) { #else @@ -73,6 +74,7 @@ YosysTab::YosysTab(QString folder, QWidget *parent) : QWidget(parent) Q_EMIT deleteLater(); } }); +*/ process->setWorkingDirectory(folder); process->start("yosys"); }