diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-08 19:06:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-08 19:06:03 +0300 |
commit | eef656d3e65cc8954d03e65aacb04ba0271b7703 (patch) | |
tree | 8ff4cd96775d41cec23625ebdb96fc89d28ddf65 | |
parent | 714abae7efce1f4fcc37575370efab1a1cd44a49 (diff) | |
download | manaverse-eef656d3e65cc8954d03e65aacb04ba0271b7703.tar.gz manaverse-eef656d3e65cc8954d03e65aacb04ba0271b7703.tar.bz2 manaverse-eef656d3e65cc8954d03e65aacb04ba0271b7703.tar.xz manaverse-eef656d3e65cc8954d03e65aacb04ba0271b7703.zip |
Remove useless variable from itemcontainer.
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 9bb1f0da3..2a9ea0ed7 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -208,8 +208,7 @@ ItemContainer::ItemContainer(const Widget2 *const widget, mSelectionStatus(SEL_NONE), mForceQuantity(forceQuantity), mShowEmptyRows(showEmptyRows), - mDescItems(false), - mRedraw(true) + mDescItems(false) { setFocusable(true); addKeyListener(this); diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index e40ad4f17..76f2c7f9b 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -224,7 +224,6 @@ class ItemContainer final : public Widget, ForceQuantity mForceQuantity; ShowEmptyRows mShowEmptyRows; bool mDescItems; - bool mRedraw; }; #endif // GUI_WIDGETS_ITEMCONTAINER_H |