diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-24 18:51:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-24 18:51:45 +0300 |
commit | 641b843fd85d096afdd9b171975df91676179f3b (patch) | |
tree | 760c38447030adbdb12361978fa614ccfc9cf9fd /src/gui/widgets/tabstrip.cpp | |
parent | 5a5de75f298bea6f2b861dc1fb9aaf1f3d35d07c (diff) | |
download | manaplus-641b843fd85d096afdd9b171975df91676179f3b.tar.gz manaplus-641b843fd85d096afdd9b171975df91676179f3b.tar.bz2 manaplus-641b843fd85d096afdd9b171975df91676179f3b.tar.xz manaplus-641b843fd85d096afdd9b171975df91676179f3b.zip |
fix code style.
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-rw-r--r-- | src/gui/widgets/tabstrip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp index 06e2fd3b8..e6459a103 100644 --- a/src/gui/widgets/tabstrip.cpp +++ b/src/gui/widgets/tabstrip.cpp @@ -57,8 +57,8 @@ void TabStrip::action(const ActionEvent &event) WidgetGroup::action(event); if (event.getSource()) { - Widget *const widget = event.getSource(); - if (static_cast<Button*>(widget)->isPressed2()) + const Widget *const widget = event.getSource(); + if (static_cast<const Button*>(widget)->isPressed2()) { FOR_EACH (WidgetListConstIterator, iter, mWidgets) { |