From 960c65047877c72498d65ecc401371ab1552c82a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 28 Jun 2018 18:06:31 +0200 Subject: clangformat cleanup --- gui/ice40/mainwindow.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gui/ice40/mainwindow.cc') 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); } -- cgit v1.2.3