From eef656d3e65cc8954d03e65aacb04ba0271b7703 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Feb 2016 19:06:03 +0300 Subject: Remove useless variable from itemcontainer. --- src/gui/widgets/itemcontainer.cpp | 3 +-- src/gui/widgets/itemcontainer.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/widgets') 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 -- cgit v1.2.3-70-g09d2