diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-23 03:03:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-23 03:03:02 +0300 |
commit | ea8841881bf4ba5c7348f0389e984c50eb8e1cb9 (patch) | |
tree | 58f218d1eb1760aebaff1d3fe2162d0127eaae88 | |
parent | 71e06c926c4abc34052a3e2073db609d8e63e22c (diff) | |
download | manaverse-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.tar.gz manaverse-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.tar.bz2 manaverse-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.tar.xz manaverse-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.zip |
Remove default parameters in inventorywindow.
-rw-r--r-- | src/gui/windows/inventorywindow.h | 2 | ||||
-rw-r--r-- | src/net/ea/equipbackend.h | 2 |
2 files changed, 2 insertions, 2 deletions
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: |