summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
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)
{