diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-03-11 19:11:52 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-03-11 19:11:52 +0000 |
commit | af3eb6ba1c1c5a4a26592d53c614013225efd2d6 (patch) | |
tree | 72f55ca3f3a1b83492548d15141cc9fb9c339b1d /src/gui/windows/ministatuswindow.cpp | |
parent | df883d0a3bacc98a20a357a7e3fe23432f1b6eb2 (diff) | |
download | plus-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.tar.gz plus-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.tar.bz2 plus-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.tar.xz plus-af3eb6ba1c1c5a4a26592d53c614013225efd2d6.zip |
Typofix {add,remove}InventoyListener -> {add,remove}InventoryListener
****
Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
Diffstat (limited to 'src/gui/windows/ministatuswindow.cpp')
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 1621055ab..4c2b2d376 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -154,7 +154,7 @@ MiniStatusWindow::MiniStatusWindow() : addMouseListener(this); Inventory *const inv = PlayerInfo::getInventory(); if (inv != nullptr) - inv->addInventoyListener(this); + inv->addInventoryListener(this); StatusWindow::updateMoneyBar(mMoneyBar); StatusWindow::updateArrowsBar(mArrowsBar); @@ -169,7 +169,7 @@ MiniStatusWindow::~MiniStatusWindow() Inventory *const inv = PlayerInfo::getInventory(); if (inv != nullptr) - inv->removeInventoyListener(this); + inv->removeInventoryListener(this); FOR_EACH (ProgressBarVectorCIter, it, mBars) { |