From 9b34ab6db773568011dc85fd73156b63da377e01 Mon Sep 17 00:00:00 2001 From: Julian T Date: Fri, 14 Aug 2020 20:30:07 +0200 Subject: Better configuration --- app/mainwindow.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/mainwindow.hpp') 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 #include +#include "config.hpp" #include "draw.hpp" #include "rendercoord.hpp" #include @@ -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 -- cgit v1.2.3