From dd4d44a07d3a63ced0eec51c30b75887792c4a36 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Apr 2013 14:57:27 +0300 Subject: some more style and cast fixes. --- src/gui/buyselldialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/buyselldialog.cpp') 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(); -- cgit v1.2.3-70-g09d2