summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-18 22:11:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-18 22:11:47 +0300
commit5615f8dde421e8d44c5e49a5a44ab7e69cb543a5 (patch)
tree3f9b1dd9caec22ee20014b72af3d4f1649a2a32d
parent82fa73ffba0a3089816a12370749c54420177e7b (diff)
downloadmanaplus-5615f8dde421e8d44c5e49a5a44ab7e69cb543a5.tar.gz
manaplus-5615f8dde421e8d44c5e49a5a44ab7e69cb543a5.tar.bz2
manaplus-5615f8dde421e8d44c5e49a5a44ab7e69cb543a5.tar.xz
manaplus-5615f8dde421e8d44c5e49a5a44ab7e69cb543a5.zip
Remove unused members from itemcontainer.
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
-rw-r--r--src/gui/widgets/itemcontainer.h2
2 files changed, 0 insertions, 4 deletions
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;
};