diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-08 02:19:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-08 02:19:52 +0300 |
commit | 27c3646d10e0c5d25905d7afc7a43289159f711b (patch) | |
tree | 90257515af3615f169252161fc62b8d571076936 /src/gui/tradewindow.cpp | |
parent | 5e14ab971129eb95ca02e373fc21adb46c0eaca1 (diff) | |
download | manaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.gz manaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.bz2 manaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.xz manaplus-27c3646d10e0c5d25905d7afc7a43289159f711b.zip |
Fix some issues after automatic checking.
Change compilation flags in make scripts.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r-- | src/gui/tradewindow.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp index e3fb323e6..c607636d9 100644 --- a/src/gui/tradewindow.cpp +++ b/src/gui/tradewindow.cpp @@ -85,10 +85,6 @@ TradeWindow::TradeWindow(): if (setupWindow) setupWindow->registerWindowForReset(this); - std::string longestName = getFont()->getWidth(_("OK")) > - getFont()->getWidth(_("Trade")) ? - _("OK") : _("Trade"); - mAddButton = new Button(_("Add"), "add", this); mOkButton = new Button("", "", this); // Will be filled in later |