From 4cf136b90ee361051bd29c615065f7bbc20b75b0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 15:15:48 +0300 Subject: remove unused variables from inventorywindow. --- src/gui/windows/inventorywindow.cpp | 2 -- src/gui/windows/inventorywindow.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 6fffb3cf2..4be320617 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -107,8 +107,6 @@ InventoryWindow::InventoryWindow(Inventory *const inventory): InventoryListener(), mInventory(inventory), mItems(new ItemContainer(this, mInventory)), - mWeight(), - mSlots(), mUseButton(nullptr), mDropButton(nullptr), mSplitButton(nullptr), diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h index d8742dd64..a7ee5f31e 100644 --- a/src/gui/windows/inventorywindow.h +++ b/src/gui/windows/inventorywindow.h @@ -166,9 +166,6 @@ class InventoryWindow final : public Window, Inventory *mInventory; ItemContainer *mItems; - std::string mWeight; - std::string mSlots; - Button *mUseButton; Button *mDropButton; Button *mSplitButton; -- cgit v1.2.3-70-g09d2