summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 03:03:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 03:03:02 +0300
commitea8841881bf4ba5c7348f0389e984c50eb8e1cb9 (patch)
tree58f218d1eb1760aebaff1d3fe2162d0127eaae88
parent71e06c926c4abc34052a3e2073db609d8e63e22c (diff)
downloadmanaplus-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.tar.gz
manaplus-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.tar.bz2
manaplus-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.tar.xz
manaplus-ea8841881bf4ba5c7348f0389e984c50eb8e1cb9.zip
Remove default parameters in inventorywindow.
-rw-r--r--src/gui/windows/inventorywindow.h2
-rw-r--r--src/net/ea/equipbackend.h2
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: