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()
Why not just add
if (m_pTrackCollec tion->getPlayli stDAO() .getHiddenType( playlistId) :PLHT_SET_ LOG) { _REORDER;
== PlaylistDAO:
caps &= ~TRACKMODELCAPS
}
to getCapabilities?
Otherwise I would prefer to inherit from playlisttablemodel and override getCapabilities()