48 Toolset* object; |
48 Toolset* object; |
49 }; |
49 }; |
50 |
50 |
51 // --------------------------------------------------------------------------------------------------------------------- |
51 // --------------------------------------------------------------------------------------------------------------------- |
52 // |
52 // |
53 MainWindow::MainWindow(class Configuration& config, QWidget* parent, Qt::WindowFlags flags) : |
53 MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags flags) : |
54 QMainWindow (parent, flags), |
54 QMainWindow (parent, flags), |
55 m_config(config), |
55 m_config(*::config), |
56 m_guiUtilities (new GuiUtilities (this)), |
56 m_guiUtilities (new GuiUtilities (this)), |
57 m_primitives(new PrimitiveManager(this)), |
57 m_primitives(new PrimitiveManager(this)), |
58 m_grid(new Grid(this)), |
58 m_grid(new Grid(this)), |
59 m_mathFunctions(new MathFunctions(this)), |
59 m_mathFunctions(new MathFunctions(this)), |
60 ui (*new Ui_MainWindow), |
60 ui (*new Ui_MainWindow), |