]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/playlist/ml_model.cpp
Qt: remove the zoom slider and put it on the menu
[vlc] / modules / gui / qt4 / components / playlist / ml_model.cpp
index b8486b77d0f34103e6f4b6df6464f994606c80e8..3aae7ddb59ed66c3ee0fd3dabe9c843c2652d4da 100644 (file)
@@ -270,9 +270,9 @@ QVariant MLModel::data( const QModelIndex &index, const int role ) const
             QVariant tmp = it->data( index.column() );
             return tmp;
         }
-        else if( role == VLCModel::IsLeafNodeRole )
+        else if( role == IsLeafNodeRole )
             return QVariant( true );
-        else if( role == VLCModel::IsCurrentsParentNodeRole )
+        else if( role == IsCurrentsParentNodeRole )
             return QVariant( false );
     }
     return QVariant();