diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-09 14:57:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-09 15:59:33 +0300 |
commit | dd4d44a07d3a63ced0eec51c30b75887792c4a36 (patch) | |
tree | 26f3da1fd25d91eb8483dc1b819a1d3a3552e6af /src/gui/buyselldialog.cpp | |
parent | 099c67f93cf49cda90be55606e1b744c47624b92 (diff) | |
download | mv-dd4d44a07d3a63ced0eec51c30b75887792c4a36.tar.gz mv-dd4d44a07d3a63ced0eec51c30b75887792c4a36.tar.bz2 mv-dd4d44a07d3a63ced0eec51c30b75887792c4a36.tar.xz mv-dd4d44a07d3a63ced0eec51c30b75887792c4a36.zip |
some more style and cast fixes.
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(); |