summaryrefslogtreecommitdiff
path: root/src/gui/okdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-17 12:44:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-17 12:44:28 +0300
commitb43ea5469c75cf8ceddc627d545a8e0e4175c68e (patch)
treeb05913667e3afe249949cea0f2b44c02226b2c85 /src/gui/okdialog.cpp
parent5adddd3e7245baf51c145f52b3784a6b4af554ef (diff)
downloadmanaplus-b43ea5469c75cf8ceddc627d545a8e0e4175c68e.tar.gz
manaplus-b43ea5469c75cf8ceddc627d545a8e0e4175c68e.tar.bz2
manaplus-b43ea5469c75cf8ceddc627d545a8e0e4175c68e.tar.xz
manaplus-b43ea5469c75cf8ceddc627d545a8e0e4175c68e.zip
improve okdialog class.
Diffstat (limited to 'src/gui/okdialog.cpp')
-rw-r--r--src/gui/okdialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp
index 6c0856f3b..e7f0a669e 100644
--- a/src/gui/okdialog.cpp
+++ b/src/gui/okdialog.cpp
@@ -51,7 +51,6 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg,
Button *const okButton = new Button(this, _("OK"), "ok", this);
int width = getFont()->getWidth(title);
-
if (width < mTextBox->getMinWidth())
width = mTextBox->getMinWidth();
if (width < okButton->getWidth())