diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 19:46:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 21:52:08 +0300 |
commit | c0d5142d1ed98b62ad87603fa9d2620dce256bd7 (patch) | |
tree | 6acc4c089999353ef39c83c3bef34bbf89dbfdd3 /src/gui/widgets/tabbedarea.cpp | |
parent | e85c6227064c905945a4d49a5e11a0078243a1ac (diff) | |
download | manaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.gz manaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.bz2 manaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.tar.xz manaplus-c0d5142d1ed98b62ad87603fa9d2620dce256bd7.zip |
add consts in gui classes.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |