diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-18 00:45:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-18 00:45:23 +0300 |
commit | 14a0a04b2bb3928f7429fd748dd40e1843fca571 (patch) | |
tree | 28f772d80afd66838b0123efeac005f445a39bce /src/gui/windows/itemamountwindow.cpp | |
parent | 1d71d02a40dc1f4c50572bf0681bbc2907a3c361 (diff) | |
download | manaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.gz manaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.bz2 manaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.xz manaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.zip |
Remove default constructor from Widget2.
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 6b7d10173..8e981ae96 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -148,7 +148,7 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, Window *const parent, mMax(maxRange), mUsage(usage), mItemPopup(new ItemPopup), - mItemAmountSlide(new Slider(1.0, mMax)), + mItemAmountSlide(new Slider(this, 1.0, mMax)), mItemPriceSlide(nullptr), mItemDropDown(nullptr), mItemsModal(nullptr), @@ -182,7 +182,7 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, Window *const parent, mItemPriceTextField->setWidth(35); mItemPriceTextField->addKeyListener(this); - mItemPriceSlide = new Slider(1.0, 10000000); + mItemPriceSlide = new Slider(this, 1.0, 10000000); mItemPriceSlide->setHeight(10); mItemPriceSlide->setActionEventId("slidePrice"); mItemPriceSlide->addActionListener(this); |