diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 14:56:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:25 +0300 |
commit | ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459 (patch) | |
tree | 2109e3b80e0346569bfc4b5be68d930acee21a3f /src | |
parent | 38ce14ec8b53fadf71d2b54406e8513a8a965514 (diff) | |
download | plus-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.tar.gz plus-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.tar.bz2 plus-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.tar.xz plus-ff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459.zip |
fix cast in windowmenu.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windowmenu.cpp | 2 |
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) |