diff options
Diffstat (limited to 'src/gui/buyselldialog.cpp')
-rw-r--r-- | src/gui/buyselldialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/buyselldialog.cpp b/src/gui/buyselldialog.cpp index e84982737..7db437c4f 100644 --- a/src/gui/buyselldialog.cpp +++ b/src/gui/buyselldialog.cpp @@ -32,7 +32,7 @@ #include "debug.h" -BuySellDialog::DialogList BuySellDialog::instances; +BuySellDialog::DialogList BuySellDialog::dialogInstances; BuySellDialog::BuySellDialog(const int npcId) : Window(_("Shop"), false, nullptr, "buysell.xml"), @@ -86,13 +86,13 @@ void BuySellDialog::init() loadWindowState(); enableVisibleSound(true); - instances.push_back(this); + dialogInstances.push_back(this); setVisible(true); } BuySellDialog::~BuySellDialog() { - instances.remove(this); + dialogInstances.remove(this); } void BuySellDialog::setVisible(bool visible) @@ -133,7 +133,7 @@ void BuySellDialog::action(const gcn::ActionEvent &event) void BuySellDialog::closeAll() { - FOR_EACH (DialogList::const_iterator, it, instances) + FOR_EACH (DialogList::const_iterator, it, dialogInstances) { if (*it) (*it)->close(); |