summaryrefslogtreecommitdiff
path: root/src/gui/buyselldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-09 14:57:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-09 15:59:33 +0300
commitdd4d44a07d3a63ced0eec51c30b75887792c4a36 (patch)
tree26f3da1fd25d91eb8483dc1b819a1d3a3552e6af /src/gui/buyselldialog.cpp
parent099c67f93cf49cda90be55606e1b744c47624b92 (diff)
downloadmv-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.cpp8
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();