summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-26 19:10:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-26 19:37:23 +0300
commitd599ae437a5966d3730939c80811763b62e709b1 (patch)
tree4bc20b96914553aeea18de292628815bf24c4236 /src/gui/popups
parentef6a173d875114f31509823541c972667d987f87 (diff)
downloadplus-d599ae437a5966d3730939c80811763b62e709b1.tar.gz
plus-d599ae437a5966d3730939c80811763b62e709b1.tar.bz2
plus-d599ae437a5966d3730939c80811763b62e709b1.tar.xz
plus-d599ae437a5966d3730939c80811763b62e709b1.zip
Imrove staticbrowserbox.
Fix wrong width in some cases. Improved performance. Removed useless code.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/speechbubble.cpp1
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();