aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40/mainwindow.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-28 18:06:31 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-28 18:06:31 +0200
commit960c65047877c72498d65ecc401371ab1552c82a (patch)
tree5b0a4aa7063fd6a24ff4a74b9786e8b1daad0a57 /gui/ice40/mainwindow.cc
parent1676b285ae726eb858d4d7ed089496133ce3de4b (diff)
downloadnextpnr-960c65047877c72498d65ecc401371ab1552c82a.tar.gz
nextpnr-960c65047877c72498d65ecc401371ab1552c82a.tar.bz2
nextpnr-960c65047877c72498d65ecc401371ab1552c82a.zip
clangformat cleanup
Diffstat (limited to 'gui/ice40/mainwindow.cc')
-rw-r--r--gui/ice40/mainwindow.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc
index 2563a767..c89b5d2d 100644
--- a/gui/ice40/mainwindow.cc
+++ b/gui/ice40/mainwindow.cc
@@ -58,8 +58,8 @@ MainWindow::MainWindow(QWidget *parent) : BaseMainWindow(parent), timing_driven(
connect(task, SIGNAL(taskStarted()), this, SLOT(taskStarted()));
connect(task, SIGNAL(taskPaused()), this, SLOT(taskPaused()));
- connect(this, SIGNAL(contextChanged(Context*)), this, SLOT(newContext(Context*)));
- connect(this, SIGNAL(contextChanged(Context*)), task, SIGNAL(contextChanged(Context*)));
+ connect(this, SIGNAL(contextChanged(Context *)), this, SLOT(newContext(Context *)));
+ connect(this, SIGNAL(contextChanged(Context *)), task, SIGNAL(contextChanged(Context *)));
createMenu();
}
@@ -184,10 +184,10 @@ void MainWindow::new_proj()
ArchArgs chipArgs;
chipArgs.type = ArchArgs::HX1K;
chipArgs.package = "tq144";
- if (ctx)
+ if (ctx)
delete ctx;
ctx = new Context(chipArgs);
-
+
Q_EMIT contextChanged(ctx);
actionLoadJSON->setEnabled(true);
@@ -352,7 +352,7 @@ void MainWindow::taskStarted()
disableActions();
actionPause->setEnabled(true);
actionStop->setEnabled(true);
-
+
actionNew->setEnabled(false);
actionOpen->setEnabled(false);
}
@@ -362,7 +362,7 @@ void MainWindow::taskPaused()
disableActions();
actionPlay->setEnabled(true);
actionStop->setEnabled(true);
-
+
actionNew->setEnabled(false);
actionOpen->setEnabled(false);
}