vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Aug 26 
19:14:18 2013 +0200| [67a96ef76b7837adefd387cb1ed209c5a1f5d6eb] | committer: 
Francois Cartegnie

Qt: PLModel: initialize member

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

 modules/gui/qt4/components/playlist/playlist_model.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp 
b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 527bdbb..2e09c27 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -49,6 +49,7 @@
 VLCProxyModel::VLCProxyModel( QObject *parent )
     : QSortFilterProxyModel( parent ), VLCModelSubInterface()
 {
+    for ( int i = 0; i <= SQLML_MODEL ; i++ ) sourcemodels[ i ] = NULL;
     /* Because we can't directly plug the signal without mapping
        the index to the proxy model, we need a conversion step.
     */

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to