From 5dbb4826a88e255fe565fc837fe91bf305bd28d0 Mon Sep 17 00:00:00 2001 From: Angelo Castellani Date: Thu, 19 May 2011 19:29:58 -0400 Subject: Fixed 'InventoyListener' typo --- src/gui/inventorywindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/inventorywindow.cpp') diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 4ebcce8b..6a897700 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -143,7 +143,7 @@ InventoryWindow::InventoryWindow(Inventory *inventory): Layout &layout = getLayout(); layout.setRowHeight(2, Layout::AUTO_SET); - mInventory->addInventoyListener(this); + mInventory->addInventoryListener(this); instances.push_back(this); @@ -160,7 +160,7 @@ InventoryWindow::InventoryWindow(Inventory *inventory): InventoryWindow::~InventoryWindow() { instances.remove(this); - mInventory->removeInventoyListener(this); + mInventory->removeInventoryListener(this); if (!isMainInventory()) PlayerInfo::setStorageCount(PlayerInfo::getStorageCount() - 1); -- cgit v1.2.3-70-g09d2