summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-08 02:19:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-08 02:19:52 +0300
commit27c3646d10e0c5d25905d7afc7a43289159f711b (patch)
tree90257515af3615f169252161fc62b8d571076936 /src/gui/tradewindow.cpp
parent5e14ab971129eb95ca02e373fc21adb46c0eaca1 (diff)
downloadplus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.gz
plus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.bz2
plus-27c3646d10e0c5d25905d7afc7a43289159f711b.tar.xz
plus-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.cpp4
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