summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 19:06:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 19:06:03 +0300
commiteef656d3e65cc8954d03e65aacb04ba0271b7703 (patch)
tree8ff4cd96775d41cec23625ebdb96fc89d28ddf65 /src/gui
parent714abae7efce1f4fcc37575370efab1a1cd44a49 (diff)
downloadmanaplus-eef656d3e65cc8954d03e65aacb04ba0271b7703.tar.gz
manaplus-eef656d3e65cc8954d03e65aacb04ba0271b7703.tar.bz2
manaplus-eef656d3e65cc8954d03e65aacb04ba0271b7703.tar.xz
manaplus-eef656d3e65cc8954d03e65aacb04ba0271b7703.zip
Remove useless variable from itemcontainer.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/itemcontainer.cpp3
-rw-r--r--src/gui/widgets/itemcontainer.h1
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