~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/gui/widgets/tabbedarea.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
    return mSelectedTab == mTabs[index].first;
231
231
}
232
232
 
233
 
bool TabbedArea::isTabSelected(Tab *const tab) const
 
233
bool TabbedArea::isTabSelected(const Tab *const tab) const
234
234
{
235
235
    return mSelectedTab == tab;
236
236
}
627
627
    return mTabs[index].second;
628
628
}
629
629
 
630
 
void TabbedArea::removeAll(bool del)
 
630
void TabbedArea::removeAll(const bool del)
631
631
{
632
632
    if (getSelectedTabIndex() != -1)
633
633
    {