Switch to unified view

a/dirbrowser/cdbrowser.cpp b/dirbrowser/cdbrowser.cpp
...
...
265
void CDBrowser::onSysUpdIdChanged(int id)
265
void CDBrowser::onSysUpdIdChanged(int id)
266
{
266
{
267
    qDebug() << "CDBrowser::onSysUpdIdChanged: mine " << m_sysUpdId <<
267
    qDebug() << "CDBrowser::onSysUpdIdChanged: mine " << m_sysUpdId <<
268
        "server" << id;
268
        "server" << id;
269
269
270
    if (!QSettings().value("monitorupdateid").toBool()) {
271
        return;
272
273
    }
270
    // 1st time is free
274
    // 1st time is free
271
    if (!m_sysUpdId) {
275
    if (!m_sysUpdId) {
272
        m_sysUpdId = id;
276
        m_sysUpdId = id;
273
        return;
277
        return;
274
    }
278
    }
...
...
285
        ContentDirectory::ServiceKind kind = m_cds->srv()->getKind();
289
        ContentDirectory::ServiceKind kind = m_cds->srv()->getKind();
286
        switch (kind) {
290
        switch (kind) {
287
            // Not too sure which actually invalidate their
291
            // Not too sure which actually invalidate their
288
            // tree. Pretty sure that Minim does not (we might just
292
            // tree. Pretty sure that Minim does not (we might just
289
            // want to reload the current dir).
293
            // want to reload the current dir).
294
        case ContentDirectory::CDSKIND_MINIDLNA: break;
295
        case ContentDirectory::CDSKIND_MEDIATOMB: break;
296
            // By default, don't do anything by default because some
297
            // cds keep changing their global updateid. We'd need to
298
            // check the containerUpdateID.
290
        case ContentDirectory::CDSKIND_MINIM: return;
299
        case ContentDirectory::CDSKIND_MINIM:
291
        default: break;
300
        default: return;
292
        }
301
        }
293
302
294
        QMessageBox::Button rep = 
303
        QMessageBox::Button rep = 
295
            QMessageBox::question(0, "Upplay",
304
            QMessageBox::question(0, "Upplay",
296
                                  tr("Content Directory Server state changed, "
305
                                  tr("Content Directory Server state changed, "