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.cpp | |
parent | 5ca04e5b2ec8eef88df6cbd4e3d09ac7dab55c0d (diff) |
Better configuration
Diffstat (limited to 'app/mainwindow.cpp')
-rw-r--r-- | app/mainwindow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp index 3fcc9c5..eed98f9 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -6,10 +6,11 @@ #include <QFileDialog> #include <QMessageBox> -MainWindow::MainWindow(Renderer r) - : m_drawer(500, 500), +MainWindow::MainWindow(Renderer r, const Config &conf) + : m_drawer(conf), runstatus("Not running", this), - m_render(this, m_drawer, r, &runstatus) + m_render(this, m_drawer, r, conf, &runstatus), + m_conf(conf) { setCentralWidget(&m_drawer); |