Beispiel #1
0
void ChannelEditor::scan(void)
{
#ifdef USING_BACKEND
    ScanWizard *scanwizard = new ScanWizard(m_sourceFilter);
    scanwizard->exec(false, true);
    scanwizard->deleteLater();

    fillList();
#else
    LOG(VB_GENERAL, LOG_ERR,
        "You must compile the backend to be able to scan for channels");
#endif
}
Beispiel #2
0
void ChannelEditor::scan(void)
{
#ifdef USING_BACKEND
    int val = source->getValue().toInt();
    uint sourceid = (val > 0) ? val : 0;
    ScanWizard *scanwizard = new ScanWizard(sourceid);
    scanwizard->exec(false, true);
    scanwizard->deleteLater();

    list->fillSelections();
    list->setFocus();
#else
    VERBOSE(VB_IMPORTANT,  "You must compile the backend "
            "to be able to scan for channels");
#endif
}