Comment 4 for bug 1720645

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Why not just add

    if (m_pTrackCollection->getPlaylistDAO().getHiddenType(playlistId)
            == PlaylistDAO::PLHT_SET_LOG) {
         caps &= ~TRACKMODELCAPS_REORDER;
    }

to getCapabilities?

Otherwise I would prefer to inherit from playlisttablemodel and override getCapabilities()