Switch to unified view

a/src/ohplaylist.cxx b/src/ohplaylist.cxx
...
...
266
{
266
{
267
    m_active = onoff;
267
    m_active = onoff;
268
    if (m_active) {
268
    if (m_active) {
269
        m_dev->m_mpdcli->clearQueue();
269
        m_dev->m_mpdcli->clearQueue();
270
        m_dev->m_mpdcli->restoreState(m_mpdsavedstate);
270
        m_dev->m_mpdcli->restoreState(m_mpdsavedstate);
271
        refreshState();
271
        maybeWakeUp(true);
272
        maybeWakeUp(true);
272
    } else {
273
    } else {
273
        m_dev->m_mpdcli->saveState(m_mpdsavedstate, 0);
274
        m_dev->m_mpdcli->saveState(m_mpdsavedstate, 0);
274
    }
275
    }
275
}
276
}