summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-28 15:46:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-28 16:41:19 +0300
commitf146cd42ce84a08879eb286ecd2ed2aa8ad82300 (patch)
treef689f832f54f361be8cff61deb47c0e32febd486 /src/gui/windows/tradewindow.cpp
parent409cee51fe11e2495a2741226432666a8702dceb (diff)
downloadplus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.gz
plus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.bz2
plus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.xz
plus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.zip
fix code style.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 7fe1a1e36..506f25c17 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -130,8 +130,7 @@ TradeWindow::TradeWindow():
place(1, 0, mMoneyLabel);
place(0, 1, myScroll).setPadding(3);
place(1, 1, partnerScroll).setPadding(3);
- ContainerPlacer placer;
- placer = getPlacer(0, 0);
+ ContainerPlacer placer = getPlacer(0, 0);
placer(0, 0, moneyLabel2);
placer(1, 0, mMoneyField, 2);
placer(3, 0, mMoneyChangeButton).setHAlign(LayoutCell::LEFT);