summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
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;