aboutsummaryrefslogtreecommitdiff
path: root/src/gui/main-window.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/main-window.C')
-rw-r--r--src/gui/main-window.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/main-window.C b/src/gui/main-window.C
index 74e75350..b4097197 100644
--- a/src/gui/main-window.C
+++ b/src/gui/main-window.C
@@ -31,16 +31,16 @@
#include <QMenuBar>
#include <QAction>
-#include <QScrollArea>
#include "debate.h"
#include "main-window.h"
namespace OpenAxiom {
-
+
MainWindow::MainWindow() : tabs(this) {
setCentralWidget(&tabs);
- tabs.addTab(new Debate(&tabs), "Main Frame");
+ Debate* debate = new Debate(&tabs);
+ tabs.addTab(debate, "Main Frame");
QMenu* file = menuBar()->addMenu(tr("&File"));
QAction* action = new QAction(tr("Quit"), this);
file->addAction(action);