summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-04 03:07:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-04 03:41:46 +0300
commit4b2cb3433c82ba4ba28be8de82e0a49df7f3e388 (patch)
tree60f063d56d0aa316cfee4c1e1340b69cc992ede1 /src/gui/popupmenu.cpp
parentd5eb424dcd214b4646a960e04b9271e70b096856 (diff)
downloadmv-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.gz
mv-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.bz2
mv-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.xz
mv-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.zip
Replace some lists to vectors.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 33d0425e1..0ede3d122 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -1755,8 +1755,8 @@ void PopupMenu::showPopup(int x, int y, Button *button)
mButton = button;
mBrowserBox->clearRows();
- std::list <gcn::Button*> names = windowMenu->getButtons();
- std::list <gcn::Button*>::iterator it, it_end;
+ std::vector <gcn::Button*> names = windowMenu->getButtons();
+ std::vector <gcn::Button*>::iterator it, it_end;
for (it = names.begin(), it_end = names.end(); it != it_end; ++ it)
{
Button *btn = dynamic_cast<Button*>(*it);
@@ -1790,8 +1790,8 @@ void PopupMenu::showPopup(int x, int y, ProgressBar *b)
mNick = b->text();
mBrowserBox->clearRows();
- std::list <ProgressBar*> bars = miniStatusWindow->getBars();
- std::list <ProgressBar*>::iterator it, it_end;
+ std::vector <ProgressBar*> bars = miniStatusWindow->getBars();
+ std::vector <ProgressBar*>::iterator it, it_end;
for (it = bars.begin(), it_end = bars.end(); it != it_end; ++it)
{
ProgressBar *bar = *it;