diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:02:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:02:19 +0300 |
commit | ea40cd4fa5e65698cbabb3649e2d5641f47df265 (patch) | |
tree | 71008ed2918993214b1044cbeb1f5dd1944b30d2 /src/gui/windows/itemamountwindow.cpp | |
parent | 49ab9391a9d49580603858b1222dd39542111583 (diff) | |
download | plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.gz plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.bz2 plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.xz plus-ea40cd4fa5e65698cbabb3649e2d5641f47df265.zip |
Remove default parameters from inttextfield.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index d8e1c3da0..773e53e82 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -135,7 +135,7 @@ ItemAmountWindow::ItemAmountWindow(const ItemAmountWindowUsageT usage, Window("", Modal_false, parent, "amount.xml"), ActionListener(), KeyListener(), - mItemAmountTextField(new IntTextField(this, 1)), + mItemAmountTextField(new IntTextField(this, 1, 0, 0, Enable_true, 0)), mItemPriceTextField(nullptr), mGPLabel(nullptr), mItem(item), @@ -171,7 +171,7 @@ ItemAmountWindow::ItemAmountWindow(const ItemAmountWindowUsageT usage, if (mUsage == ItemAmountWindowUsage::ShopBuyAdd || mUsage == ItemAmountWindowUsage::ShopSellAdd) { - mItemPriceTextField = new IntTextField(this, 1); + mItemPriceTextField = new IntTextField(this, 1, 0, 0, Enable_true, 0); mItemPriceTextField->setRange(1, 10000000); mItemPriceTextField->setWidth(35); mItemPriceTextField->addKeyListener(this); |