aboutsummaryrefslogtreecommitdiff
path: root/src/gui/main-window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/main-window.cc')
-rw-r--r--src/gui/main-window.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/main-window.cc b/src/gui/main-window.cc
index c58c86e5..836f56d1 100644
--- a/src/gui/main-window.cc
+++ b/src/gui/main-window.cc
@@ -39,11 +39,9 @@
namespace OpenAxiom {
MainWindow::MainWindow(int argc, char* argv[])
- : srv(argc, argv), tabs(this) {
- setCentralWidget(&tabs);
+ : srv(argc, argv), debate(this) {
+ setCentralWidget(&debate);
setWindowTitle("OpenAxiom");
- Debate* debate = new Debate(this, &tabs);
- tabs.addTab(debate, "Main Frame");
QMenu* file = menuBar()->addMenu(tr("&File"));
QAction* action = new QAction(tr("Quit"), this);
file->addAction(action);