summaryrefslogtreecommitdiff
path: root/src/gui/buydialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 17:42:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 18:56:15 +0300
commitd9994f114b1febf4c075d77c0fb3e7a44e510e20 (patch)
tree00eeae0b23ab620363dedcce448af25325b1381f /src/gui/buydialog.cpp
parentd65f51b41a9d84c501bb25bc3849ffd8446fb2e6 (diff)
downloadplus-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.cpp7
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");