From 5615f8dde421e8d44c5e49a5a44ab7e69cb543a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Dec 2013 22:11:47 +0300 Subject: Remove unused members from itemcontainer. --- src/gui/widgets/itemcontainer.cpp | 2 -- src/gui/widgets/itemcontainer.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/gui') diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 9064ca8b5..8ba9707a4 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -179,7 +179,6 @@ ItemContainer::ItemContainer(const Widget2 *const widget, mGridColumns(1), mGridRows(1), mSelectedIndex(-1), - mHighlightedIndex(-1), mLastUsedSlot(-1), mTag(0), mSortType(0), @@ -192,7 +191,6 @@ ItemContainer::ItemContainer(const Widget2 *const widget, mPaddingItemY(mSkin ? mSkin->getOption("paddingItemY", 0) : 0), mSelectionStatus(SEL_NONE), mForceQuantity(forceQuantity), - mSwapItems(false), mDescItems(false) { mItemPopup->postInit(); diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index a39a4c685..ed6c1a44e 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -197,7 +197,6 @@ class ItemContainer final : public gcn::Widget, int mGridColumns; int mGridRows; int mSelectedIndex; - int mHighlightedIndex; int mLastUsedSlot; int mTag; int mSortType; @@ -209,7 +208,6 @@ class ItemContainer final : public gcn::Widget, int mPaddingItemY; SelectionState mSelectionStatus; bool mForceQuantity; - bool mSwapItems; bool mDescItems; }; -- cgit v1.2.3-70-g09d2