diff options
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); |