diff options
author | Julian T <julian@jtle.dk> | 2020-08-14 20:30:07 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-09-16 21:05:58 +0200 |
commit | 9b34ab6db773568011dc85fd73156b63da377e01 (patch) | |
tree | 2511b89ecdf948826e51d342610635b7e8dfbf33 /app/mainwindow.hpp | |
parent | 5ca04e5b2ec8eef88df6cbd4e3d09ac7dab55c0d (diff) |
Better configuration
Diffstat (limited to 'app/mainwindow.hpp')
-rw-r--r-- | app/mainwindow.hpp | 5 |
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 |