From ea8841881bf4ba5c7348f0389e984c50eb8e1cb9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Dec 2017 03:03:02 +0300 Subject: Remove default parameters in inventorywindow. --- src/gui/windows/inventorywindow.h | 2 +- src/net/ea/equipbackend.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h index 81cfd38e4..82726e151 100644 --- a/src/gui/windows/inventorywindow.h +++ b/src/gui/windows/inventorywindow.h @@ -139,7 +139,7 @@ class InventoryWindow final : public Window, void updateDropButton(); - void updateButtons(const Item *item = nullptr); + void updateButtons(const Item *item); bool isInputFocused() const A_WARN_UNUSED; diff --git a/src/net/ea/equipbackend.h b/src/net/ea/equipbackend.h index 15aeb93fb..b1956eb54 100644 --- a/src/net/ea/equipbackend.h +++ b/src/net/ea/equipbackend.h @@ -97,7 +97,7 @@ class EquipBackend final : public Equipment::Backend item->setEquipped(Equipped_true); if (inventoryWindow != nullptr) - inventoryWindow->updateButtons(); + inventoryWindow->updateButtons(nullptr); } private: -- cgit v1.2.3-70-g09d2