aboutsummaryrefslogtreecommitdiff
path: root/app/mainwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/mainwindow.hpp')
-rw-r--r--app/mainwindow.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/mainwindow.hpp b/app/mainwindow.hpp
index b2566f4..ffb4f08 100644
--- a/app/mainwindow.hpp
+++ b/app/mainwindow.hpp
@@ -6,6 +6,7 @@
#include <QMenuBar>
#include <QStatusBar>
+#include "config.hpp"
#include "draw.hpp"
#include "rendercoord.hpp"
#include <qmainwindow.h>
@@ -15,7 +16,7 @@ class MainWindow : public QMainWindow {
Q_OBJECT
public:
- MainWindow(Renderer r);
+ MainWindow(Renderer r, const Config &conf);
private slots:
void saveimage();
@@ -26,6 +27,8 @@ class MainWindow : public QMainWindow {
QMenu *fileMenu;
QMenu *helpMenu;
+
+ const Config &m_conf;
};
#endif