diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-04 03:07:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-04 03:41:46 +0300 |
commit | 4b2cb3433c82ba4ba28be8de82e0a49df7f3e388 (patch) | |
tree | 60f063d56d0aa316cfee4c1e1340b69cc992ede1 /src/gui/popupmenu.cpp | |
parent | d5eb424dcd214b4646a960e04b9271e70b096856 (diff) | |
download | plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.gz plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.bz2 plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.xz plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.zip |
Replace some lists to vectors.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 8 |
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; |