bool MainWindow::doProcessChannels(QString theLine){ bool tmpHasMatched; int tmpPos; // Scan for channel matches for(int i=0; ichannelActivator); tmpPos = rx.indexIn(theLine); qDebug() << tr("Debug pos: %1").arg(tmpPos); if( tmpPos != -1 ) { QString tmpKeyword = rx.cap(1); winChannel *tmpChannel = new winChannel(this); tmpChannel->configureWithKeyword(cl, tmpKeyword); tmpChannel->show(); pChannelWindows.append(tmpChannel); qDebug() << tr("adding window "); } } return tmpHasMatched; }