View | Details | Raw Unified | Return to bug 253149 | Differences between
and this patch

Collapse All | Expand All

(-)devdthread.cpp (-1 / +1 lines)
Lines 72-78 void DevdThread::parseLine(QString line) Link Here
72
            emit blockAdded(devArg);
72
            emit blockAdded(devArg);
73
73
74
            // there are no subsystem=disk events for MMC, try to workaround it
74
            // there are no subsystem=disk events for MMC, try to workaround it
75
            QRegularExpression re("mmcsd\\d$");
75
            QRegularExpression re("(mmcsd|cd)\\d$");
76
            if(re.match(devArg).hasMatch())
76
            if(re.match(devArg).hasMatch())
77
                emit driveAdded(devArg);
77
                emit driveAdded(devArg);
78
        }
78
        }

Return to bug 253149