From c0d5142d1ed98b62ad87603fa9d2620dce256bd7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 19:46:23 +0300 Subject: add consts in gui classes. --- src/gui/widgets/tabbedarea.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/tabbedarea.h') diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h index 034257e8f..dd74405fc 100644 --- a/src/gui/widgets/tabbedarea.h +++ b/src/gui/widgets/tabbedarea.h @@ -100,14 +100,14 @@ class TabbedArea final : public Widget2, bool isTabSelected(const unsigned int index) const A_WARN_UNUSED; - bool isTabSelected(Tab *const tab) const A_WARN_UNUSED; + bool isTabSelected(const Tab *const tab) const A_WARN_UNUSED; /** * Overload the remove tab function as it's broken in guichan 0.8. */ void removeTab(Tab *const tab); - void removeAll(bool del = true); + void removeAll(const bool del = true); /** * Overload the logic function since it's broken in guichan 0.8. -- cgit v1.2.3-60-g2f50