diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
commit | 5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch) | |
tree | bb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/shopwindow.cpp | |
parent | 938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff) | |
download | plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2 plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip |
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index e21fa914c..923511baa 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -78,6 +78,7 @@ ShopWindow::ShopWindow(): mCloseButton(new Button(this, _("Close"), "close", this)), mBuyShopItems(new ShopItems), mSellShopItems(new ShopItems), + mTradeItem(nullptr), mBuyShopItemList(new ShopListBox(this, mBuyShopItems, mBuyShopItems)), mSellShopItemList(new ShopListBox(this, mSellShopItems, mSellShopItems)), mBuyScrollArea(new ScrollArea(this, mBuyShopItemList, @@ -106,14 +107,13 @@ ShopWindow::ShopWindow(): // TRANSLATORS: shop window checkbox mAnnounceLinks(new CheckBox(this, _("Show links in announce"), false, this, "link announce")), + mAcceptPlayer(""), + mTradeNick(""), mSelectedItem(-1), mAnnonceTime(0), mLastRequestTimeList(0), mLastRequestTimeItem(0), mRandCounter(0), - mAcceptPlayer(""), - mTradeItem(nullptr), - mTradeNick(""), mTradeMoney(0) { mBuyShopItemList->postInit(); |