aboutsummaryrefslogtreecommitdiff
path: root/src/gui/conversation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/conversation.h')
-rw-r--r--src/gui/conversation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/conversation.h b/src/gui/conversation.h
index 31883a8f..2698c199 100644
--- a/src/gui/conversation.h
+++ b/src/gui/conversation.h
@@ -184,7 +184,7 @@ namespace OpenAxiom {
Exchange* exchange() { return cur_ex; }
// Return the parent engine widget.
- Debate* debate() const { return const_cast<Debate*>(&group); }
+ Debate* debate() const { return group; }
void submit_query(const QString&);
@@ -201,7 +201,7 @@ namespace OpenAxiom {
private:
typedef std::vector<Exchange*> Children;
- Debate& group;
+ Debate* group;
Banner greatings;
Children children;
QProcess proc;