aboutsummaryrefslogtreecommitdiff
path: root/src/gui/main-window.cc
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-06-03 16:26:34 +0000
committerdos-reis <gdr@axiomatics.org>2011-06-03 16:26:34 +0000
commitb5ef39f0f52945c1d465b9fb0e1c014355ffc713 (patch)
treed901f72e35dcfc1757b55a28e839a8c388109c4f /src/gui/main-window.cc
parent91ac879b87e3fdf5c796b65d4b2a259397b18002 (diff)
downloadopen-axiom-b5ef39f0f52945c1d465b9fb0e1c014355ffc713.tar.gz
Enable the new GUI interface as default driver
on Windows platforms with QT available.
Diffstat (limited to 'src/gui/main-window.cc')
-rw-r--r--src/gui/main-window.cc4
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);