summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}
}