On Friday 10 December 2004 17:39, Kurt V. Hindenburg wrote: > +void KTabWidget::hideTabBar( bool hide ) > +{ > + KTabWidget *that = const_cast<KTabWidget*>( this ); Why is this cast needed? hideTabBar isn't a const member function... -- Thanks, Richard