From 07e8a1b8408ed40cbf2031476627647057f62141 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 10 Apr 2009 01:53:05 +0200 Subject: Some cleanup of the equipment window code Also removed some unnecessary delete statements, since the Popup class already deletes its children and the ScrollArea already deletes its content. --- src/gui/speechbubble.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/speechbubble.h') diff --git a/src/gui/speechbubble.h b/src/gui/speechbubble.h index 3b97d3fe..4601a43e 100644 --- a/src/gui/speechbubble.h +++ b/src/gui/speechbubble.h @@ -58,7 +58,7 @@ class SpeechBubble : public Popup /** * Gets the number of rows the speech bubble has. */ - unsigned int getNumRows(); + unsigned int getNumRows() const; private: std::string mText; -- cgit v1.2.3-70-g09d2