diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 17:42:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 18:56:15 +0300 |
commit | d9994f114b1febf4c075d77c0fb3e7a44e510e20 (patch) | |
tree | 00eeae0b23ab620363dedcce448af25325b1381f /src/gui/buydialog.cpp | |
parent | d65f51b41a9d84c501bb25bc3849ffd8446fb2e6 (diff) | |
download | plus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.gz plus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.bz2 plus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.xz plus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.zip |
Fix code style and some minor issues.
Diffstat (limited to 'src/gui/buydialog.cpp')
-rw-r--r-- | src/gui/buydialog.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp index ed152cc82..e6894bb65 100644 --- a/src/gui/buydialog.cpp +++ b/src/gui/buydialog.cpp @@ -22,7 +22,6 @@ #include "gui/buydialog.h" -#include "logger.h" #include "shopitem.h" #include "units.h" @@ -86,9 +85,11 @@ void BuyDialog::init() mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); mSlider = new Slider(1.0); - mQuantityLabel = new Label(this, strprintf("%d / %d", mAmountItems, mMaxItems)); + mQuantityLabel = new Label(this, strprintf( + "%d / %d", mAmountItems, mMaxItems)); mQuantityLabel->setAlignment(gcn::Graphics::CENTER); - mMoneyLabel = new Label(this, strprintf(_("Price: %s / Total: %s"), "", "")); + mMoneyLabel = new Label(this, strprintf( + _("Price: %s / Total: %s"), "", "")); mAmountField = new IntTextField(this, 1, 1, 123); mAmountField->setActionEventId("amount"); |