summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 14:56:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:25 +0300
commitff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459 (patch)
tree2109e3b80e0346569bfc4b5be68d930acee21a3f /src
parent38ce14ec8b53fadf71d2b54406e8513a8a965514 (diff)
downloadmv-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.tar.gz
mv-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.tar.bz2
mv-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.tar.xz
mv-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.zip
fix cast in windowmenu.
Diffstat (limited to 'src')
-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)