[vlc-devel] [vlc-commits] Qt: PLModel: move zoom value out of model

Ilkka Ollakka ileoo at videolan.org
Fri Aug 3 15:36:38 CEST 2012


On Thu, Aug 02, 2012 at 12:59:31PM +0200, Francois Cartegnie wrote:
> Le 01/08/2012 19:33, Ilkka Ollakka a écrit :
> > Is reset() really needed in here instead of earlier layoutChanged emit?
> > For tree playlist it throws view to root and loses the location where
> > user was.

> AFAI remember, I wasn't able to trigger a view redraw based on new
> metrics without.

Did you try to emit sizeHintChanged(QModelIndex()) in setZoom ? or just
change model so that you can call update/refresh and it emits that
layoutChanged() signal?

> Francois
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel


-- 
Ilkka Ollakka
Last yeer I kudn't spel Engineer.  Now I are won.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120803/f396a1dd/attachment.sig>


More information about the vlc-devel mailing list