From b43ea5469c75cf8ceddc627d545a8e0e4175c68e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 May 2013 12:44:28 +0300 Subject: improve okdialog class. --- src/gui/okdialog.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gui/okdialog.cpp') 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()) -- cgit v1.2.3-70-g09d2