summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-29 19:50:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-29 19:50:37 +0300
commit6adfa82ce9c4e8039149225c0519ce9e1dd48c4d (patch)
tree5d38308126d2c6fc8e3e11aecdda3c89f93651b9
parenta75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1 (diff)
downloadmanaverse-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.tar.gz
manaverse-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.tar.bz2
manaverse-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.tar.xz
manaverse-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.zip
fix compilation warning.
-rw-r--r--src/gui/widgets/tabstrip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp
index 0be26c302..a5b5fd7e6 100644
--- a/src/gui/widgets/tabstrip.cpp
+++ b/src/gui/widgets/tabstrip.cpp
@@ -66,8 +66,8 @@ void TabStrip::action(const ActionEvent &event)
{
if (*iter != widget)
{
- Button *const button = static_cast<Button*>(*iter);
- button->setPressed(false);
+ Button *const button2 = static_cast<Button*>(*iter);
+ button2->setPressed(false);
}
}
}