summaryrefslogtreecommitdiff
path: root/src/gui/windows/itemamountwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
commit5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch)
treebb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/itemamountwindow.cpp
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadmv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r--src/gui/windows/itemamountwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp
index b13380782..ec581a96e 100644
--- a/src/gui/windows/itemamountwindow.cpp
+++ b/src/gui/windows/itemamountwindow.cpp
@@ -98,14 +98,14 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, Window *const parent,
mGPLabel(nullptr),
mItem(item),
mItemIcon(new Icon(this, item ? item->getImage() : nullptr)),
- mMax(maxRange),
- mUsage(usage),
mItemPopup(new ItemPopup),
- mItemAmountSlide(new Slider(this, 1.0, mMax)),
+ mItemAmountSlide(new Slider(this, 1.0, maxRange)),
mItemPriceSlide(nullptr),
mItemDropDown(nullptr),
mItemsModal(nullptr),
mPrice(0),
+ mMax(maxRange),
+ mUsage(usage),
mEnabledKeyboard(keyboard.isEnabled())
{
mItemPopup->postInit();