From f404997629d9a34f5a15261073536903a59a604c Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Tue, 20 Jan 2009 11:57:14 -0700 Subject: Trim displayed speech to not show links. Signed-off-by: Ira Rice --- src/gui/speechbubble.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp index 5539202e..4fa63973 100644 --- a/src/gui/speechbubble.cpp +++ b/src/gui/speechbubble.cpp @@ -61,11 +61,6 @@ SpeechBubble::SpeechBubble(): void SpeechBubble::setText(std::string mText) { - while (mText[0] == ' ') - { - mText = mText.substr(1, mText.size()); - } - mSpeechBox->setMinWidth(140); mSpeechBox->setTextWrapped( mText ); -- cgit v1.2.3-70-g09d2