summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/gui/widgets/tabbedarea.cpp
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadmanaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 4317c86f1..6df39dfe6 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -384,7 +384,7 @@ void TabbedArea::mousePressed(MouseEvent &event)
{
Widget *const widget = mTabContainer->getWidgetAt(
event.getX(), event.getY());
- Tab *const tab = dynamic_cast<Tab *const>(widget);
+ Tab *const tab = dynamic_cast<Tab *>(widget);
if (tab)
{
@@ -475,7 +475,7 @@ void TabbedArea::widgetResized(const Event &event A_UNUSED)
- mWidgetContainer->getY() - widgetFrameSize;
Widget *const w = getCurrentWidget();
- ScrollArea *const scr = dynamic_cast<ScrollArea *const>(w);
+ ScrollArea *const scr = dynamic_cast<ScrollArea *>(w);
if (scr)
{
if (mFollowDownScroll && height != 0)
@@ -638,7 +638,7 @@ void TabbedArea::adjustTabPositions()
void TabbedArea::action(const ActionEvent& actionEvent)
{
Widget *const source = actionEvent.getSource();
- Tab *const tab = dynamic_cast<Tab *const>(source);
+ Tab *const tab = dynamic_cast<Tab *>(source);
if (tab)
{