From 0bd73c19778c9bdbc8e6d85c120715e239a9bc0d Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 26 Jun 2018 15:47:22 +0200 Subject: Make GUI use recreated context --- gui/ice40/mainwindow.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gui/ice40/mainwindow.h') diff --git a/gui/ice40/mainwindow.h b/gui/ice40/mainwindow.h index f4037a47..ffeb0473 100644 --- a/gui/ice40/mainwindow.h +++ b/gui/ice40/mainwindow.h @@ -30,7 +30,7 @@ class MainWindow : public BaseMainWindow Q_OBJECT public: - explicit MainWindow(Context *ctx, QWidget *parent = 0); + explicit MainWindow(QWidget *parent = 0); virtual ~MainWindow(); public: @@ -59,6 +59,8 @@ class MainWindow : public BaseMainWindow void taskStarted(); void taskPaused(); + void newContext(Context *ctx); + private: void disableActions(); -- cgit v1.2.3