[Okular-devel] [patch]Document information

Albert Astals Cid aacid at kde.org
Mon Nov 16 01:46:59 CET 2009


A Dimarts, 24 de març de 2009, Albert Astals Cid va escriure:
> A Diumenge, 1 de març de 2009, Luigi Toscano va escriure:
> > Hi,
> > before I forget *again* and the freeze time comes, I'd like an opinion
> > on a patch for okular that I wrote some time ago.
> >
> > The attached patch changes a bit the handling of document informations
> > and the informations shown in the info page.
> > - document path is added to the information and a button allows you to
> > toggle between to file name (default) and the complete path;
> > - the number of the page is added to the information set by
> > documentInfo() and not by the properties dialog (so the latter will not
> > modify datas);
> > - the order of the information shown is the fixed now (see
> > orderedProperties).
> >
> > Can I commit it?
> 
> I'm not the maintainer but after having a look i see this:
> 
>    if (DocumentInfo *tmp = const_cast< DocumentInfo * >( (d->m_generator-
> 
> >generateDocumentInfo() )))
> 
> do you really need the const_cast?
> 
> Otherwise it looks okaish to me.
> 
> Noone else has an opinion?

As noone opossed and i kind of like it i've commited a custom modified version 
of this.

Albert

> 
> Albert
> 
> > Thanks,
> 
> _______________________________________________
> Okular-devel mailing list
> Okular-devel at kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel
> 



More information about the Okular-devel mailing list