diff options
Diffstat (limited to 'src/gui/main-window.cc')
-rw-r--r-- | src/gui/main-window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/main-window.cc b/src/gui/main-window.cc index 9cb219bf..c429d753 100644 --- a/src/gui/main-window.cc +++ b/src/gui/main-window.cc @@ -55,9 +55,9 @@ namespace OpenAxiom { w->resize(w->size() + diff); } - MainWindow::MainWindow() : tabs(this) { + MainWindow::MainWindow(Command& cmd) : tabs(this) { setCentralWidget(&tabs); - Debate* debate = new Debate(&tabs); + Debate* debate = new Debate(&tabs, cmd); tabs.addTab(debate, "Main Frame"); QMenu* file = menuBar()->addMenu(tr("&File")); QAction* action = new QAction(tr("Quit"), this); |