From d33fc2c04f3832483ea136bbee11cec3beb0bbd0 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 6 Apr 2013 21:26:25 +0000 Subject: gui: tidy up --- src/gui/conversation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/conversation.h') 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(&group); } + Debate* debate() const { return group; } void submit_query(const QString&); @@ -201,7 +201,7 @@ namespace OpenAxiom { private: typedef std::vector Children; - Debate& group; + Debate* group; Banner greatings; Children children; QProcess proc; -- cgit v1.2.3