aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-18 14:15:41 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-18 14:15:41 +0200
commitf30d477c8129c3c189866a4bc862724d4e8d4398 (patch)
tree552fe4a537e6776ce9fbc360ceb9e5d62677385c /gui/mainwindow.h
parent2f5e9542c2d9132b2c01d4dbc8c4d2dff97c60cf (diff)
parentcbcd2ea3acaf257bf39b25a38d9f591e82a66f37 (diff)
downloadnextpnr-f30d477c8129c3c189866a4bc862724d4e8d4398.tar.gz
nextpnr-f30d477c8129c3c189866a4bc862724d4e8d4398.tar.bz2
nextpnr-f30d477c8129c3c189866a4bc862724d4e8d4398.zip
Merge branch 'refactor'
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 6516a986..149c4aa5 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -15,9 +15,9 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- explicit MainWindow(Design *design, QWidget *parent = 0);
+ explicit MainWindow(Context *ctx, QWidget *parent = 0);
~MainWindow();
- Design *getDesign() { return design; }
+ Context *getContext() { return ctx; }
private:
void createMenusAndBars();
@@ -26,7 +26,7 @@ class MainWindow : public QMainWindow
void writeInfo(std::string text);
private:
- Design *design;
+ Context *ctx;
InfoTab *info;
};