summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabstrip.cpp
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 /src/gui/widgets/tabstrip.cpp
parenta75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1 (diff)
downloadmanaplus-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.tar.gz
manaplus-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.tar.bz2
manaplus-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.tar.xz
manaplus-6adfa82ce9c4e8039149225c0519ce9e1dd48c4d.zip
fix compilation warning.
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-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);
}
}
}