aboutsummaryrefslogtreecommitdiff
path: root/src/gui/conversation.h
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-04-06 21:26:25 +0000
committerdos-reis <gdr@axiomatics.org>2013-04-06 21:26:25 +0000
commitd33fc2c04f3832483ea136bbee11cec3beb0bbd0 (patch)
treee2e00bcda2a6ae4246f1c1173e80849f479d3b01 /src/gui/conversation.h
parente4b8b63855846aedf2c6614818163c98a6a7b035 (diff)
downloadopen-axiom-d33fc2c04f3832483ea136bbee11cec3beb0bbd0.tar.gz
gui: tidy up
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;