diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-26 19:10:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-26 19:37:23 +0300 |
commit | d599ae437a5966d3730939c80811763b62e709b1 (patch) | |
tree | 4bc20b96914553aeea18de292628815bf24c4236 /src/gui/popups/speechbubble.cpp | |
parent | ef6a173d875114f31509823541c972667d987f87 (diff) | |
download | mv-d599ae437a5966d3730939c80811763b62e709b1.tar.gz mv-d599ae437a5966d3730939c80811763b62e709b1.tar.bz2 mv-d599ae437a5966d3730939c80811763b62e709b1.tar.xz mv-d599ae437a5966d3730939c80811763b62e709b1.zip |
Imrove staticbrowserbox.
Fix wrong width in some cases.
Improved performance.
Removed useless code.
Diffstat (limited to 'src/gui/popups/speechbubble.cpp')
-rw-r--r-- | src/gui/popups/speechbubble.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/popups/speechbubble.cpp b/src/gui/popups/speechbubble.cpp index 382d3c93c..1ae67fb99 100644 --- a/src/gui/popups/speechbubble.cpp +++ b/src/gui/popups/speechbubble.cpp @@ -79,7 +79,6 @@ void SpeechBubble::setText(const std::string &text, const bool showName) int width = mCaption->getWidth(); mSpeechBox->clearRows(); mSpeechBox->addRow(text); - mSpeechBox->setWidth(mSpeechBox->getDataWidth()); mSpeechBox->updateHeight(); const int speechWidth = mSpeechBox->getWidth(); |