aboutsummaryrefslogtreecommitdiff
path: root/src/gui/debate.cc
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-04-07 16:52:03 +0000
committerdos-reis <gdr@axiomatics.org>2013-04-07 16:52:03 +0000
commit026723c0e0cfc0c02838c614b3c529d1b5d50c62 (patch)
tree62774daa5b9c8188726333efb294c1f79142e047 /src/gui/debate.cc
parentb5d890ae837ea35d9f5077cf260bf85922259be9 (diff)
downloadopen-axiom-026723c0e0cfc0c02838c614b3c529d1b5d50c62.tar.gz
gui: fix parent of Debate
Diffstat (limited to 'src/gui/debate.cc')
-rw-r--r--src/gui/debate.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/debate.cc b/src/gui/debate.cc
index 9cb19438..022f8454 100644
--- a/src/gui/debate.cc
+++ b/src/gui/debate.cc
@@ -35,8 +35,8 @@
namespace OpenAxiom {
- Debate::Debate(QTabWidget* tab)
- : super(tab), conv(this) {
+ Debate::Debate(MainWindow* win, QTabWidget* tab)
+ : QScrollArea(tab), main_win(win), conv(this) {
setWidget(&conv);
setViewportMargins(0, 0, 0, 0);
viewport()->setAutoFillBackground(true);