summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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: