[PATCH] KTabWidget->hideTabBar( hide )

Richard Smith kde at metafoo.co.uk
Fri Dec 10 22:59:37 GMT 2004


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




More information about the kde-core-devel mailing list