diff options
author | dos-reis <gdr@axiomatics.org> | 2013-04-07 16:52:03 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-04-07 16:52:03 +0000 |
commit | 026723c0e0cfc0c02838c614b3c529d1b5d50c62 (patch) | |
tree | 62774daa5b9c8188726333efb294c1f79142e047 /src/gui/main-window.cc | |
parent | b5d890ae837ea35d9f5077cf260bf85922259be9 (diff) | |
download | open-axiom-026723c0e0cfc0c02838c614b3c529d1b5d50c62.tar.gz |
gui: fix parent of Debate
Diffstat (limited to 'src/gui/main-window.cc')
-rw-r--r-- | src/gui/main-window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/main-window.cc b/src/gui/main-window.cc index b3063638..b63e4b84 100644 --- a/src/gui/main-window.cc +++ b/src/gui/main-window.cc @@ -40,7 +40,7 @@ namespace OpenAxiom { MainWindow::MainWindow(Command& cmd) : srv(cmd), tabs(this) { setCentralWidget(&tabs); - Debate* debate = new Debate(&tabs); + Debate* debate = new Debate(this, &tabs); tabs.addTab(debate, "Main Frame"); QMenu* file = menuBar()->addMenu(tr("&File")); QAction* action = new QAction(tr("Quit"), this); |