vlc | branch: master | Francois Cartegnie <[email protected]> | Sun Jul 15 
13:48:04 2012 +0200| [856d5fe06916b7bdf63d3a5538cfb62f0dae6c1c] | committer: 
Francois Cartegnie

Qt: PLModel: Use Model Indexes instead of PLItem references for external
methods.

The model/view is broken as the internal PLItem elements are accessed
from outside the model.
We need to change calls to make use of Model Indexes, and then can move
away some methods that belongs to views.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=856d5fe06916b7bdf63d3a5538cfb62f0dae6c1c
---

 modules/gui/qt4/components/playlist/playlist.cpp   |   14 +-
 .../gui/qt4/components/playlist/playlist_item.hpp  |    7 +-
 .../gui/qt4/components/playlist/playlist_model.cpp |  142 ++++++++++++--------
 .../gui/qt4/components/playlist/playlist_model.hpp |   29 ++--
 modules/gui/qt4/util/pictureflow.cpp               |    4 +-
 5 files changed, 115 insertions(+), 81 deletions(-)

Diff:   
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=856d5fe06916b7bdf63d3a5538cfb62f0dae6c1c
_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to