On Wed, May 4, 2011 at 10:57 PM, Pavel Sanda <sa...@lyx.org> wrote:

> 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
>


Try again without hacking the question.

Vincent

Reply via email to