summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:15:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit4cf136b90ee361051bd29c615065f7bbc20b75b0 (patch)
tree770d6c85ce5d280b8881c52ef9ee8ff049b61ce5
parentb36dcf86bb443770dd8fc2ea08c709f92115613a (diff)
downloadplus-4cf136b90ee361051bd29c615065f7bbc20b75b0.tar.gz
plus-4cf136b90ee361051bd29c615065f7bbc20b75b0.tar.bz2
plus-4cf136b90ee361051bd29c615065f7bbc20b75b0.tar.xz
plus-4cf136b90ee361051bd29c615065f7bbc20b75b0.zip
remove unused variables from inventorywindow.
-rw-r--r--src/gui/windows/inventorywindow.cpp2
-rw-r--r--src/gui/windows/inventorywindow.h3
2 files changed, 0 insertions, 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;