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.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/tabbedarea.cpp') diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index acb638889..a08b8430e 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -230,7 +230,7 @@ bool TabbedArea::isTabSelected(const unsigned int index) const return mSelectedTab == mTabs[index].first; } -bool TabbedArea::isTabSelected(Tab *const tab) const +bool TabbedArea::isTabSelected(const Tab *const tab) const { return mSelectedTab == tab; } @@ -627,7 +627,7 @@ gcn::Widget *TabbedArea::getWidgetByIndex(const int index) const return mTabs[index].second; } -void TabbedArea::removeAll(bool del) +void TabbedArea::removeAll(const bool del) { if (getSelectedTabIndex() != -1) { -- cgit v1.2.3-60-g2f50