Vincent van Ravesteijn wrote:
> > another example which just jumped at me. its not strictly pita
> > but i find the two lines better. you don't?
> 
> 
> Which do you like better ?
> 
> string const name = fromqstr(objectName());
> visibility = guiApp->toolbars().defaultVisibility(name);
> 
> or
> 
> visibility = guiApp->toolbars().defaultVisibility(fromqstr(objectName()));

the second one
pavel

Reply via email to