From a61ac4664d55cddb18d2d861e76629bd07676129 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Feb 2016 22:44:39 +0300 Subject: Add some missing const. --- src/gui/windows/inventorywindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/inventorywindow.cpp') diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 76dfef268..e21299583 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -868,7 +868,7 @@ void InventoryWindow::updateWeight() Units::formatWeight(max).c_str())); } -void InventoryWindow::slotsChanged(Inventory *const inventory) +void InventoryWindow::slotsChanged(const Inventory *const inventory) { if (inventory == mInventory) { -- cgit v1.2.3-60-g2f50