From b5ef39f0f52945c1d465b9fb0e1c014355ffc713 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 3 Jun 2011 16:26:34 +0000 Subject: Enable the new GUI interface as default driver on Windows platforms with QT available. --- src/gui/main-window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/main-window.cc') 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); -- cgit v1.2.3