summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 1aefdaa73..5d7f792d9 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -332,7 +332,7 @@ void WindowMenu::updateButtons()
FOR_EACH (std::vector <Button*>::const_iterator, it, mButtons)
safeRemove(*it);
const int pad2 = 2 * mPadding;
- FOR_EACH (std::vector <Button*>::const_iterator, it, mButtons)
+ FOR_EACH (std::vector <Button*>::iterator, it, mButtons)
{
Button *const btn = dynamic_cast<Button *const>(*it);
if (!btn)