Switch to unified view

a/src/ohradio.cxx b/src/ohradio.cxx
...
...
254
}
254
}
255
255
256
void OHRadio::setActive(bool onoff) {
256
void OHRadio::setActive(bool onoff) {
257
    m_active = onoff;
257
    m_active = onoff;
258
    if (m_active) {
258
    if (m_active) {
259
        if (m_id)
259
        m_dev->m_mpdcli->restoreState(m_mpdsavedstate);
260
            m_dev->m_mpdcli->restoreState(m_mpdsavedstate);
260
        maybeWakeUp(true);
261
        maybeWakeUp(true);
261
    } else {
262
    } else {
262
        m_dev->m_mpdcli->saveState(m_mpdsavedstate);
263
        m_dev->m_mpdcli->saveState(m_mpdsavedstate);
263
        m_dev->m_mpdcli->clearQueue();
264
        m_dev->m_mpdcli->clearQueue();
264
        iStop();
265
        iStop();