[mythtv] little bug in TVRec::CheckChannel

Holger Buchfink avalanche at beyondmonkey.com
Mon Feb 28 02:39:21 UTC 2005


Jacques Facquet wrote:
> I have changed the line :
> if (!query.isActive()
> by 
> if (!query.exec() || !query.isActive())

Thanks, the query was broken by the recent DB changes - applied to CVS.

> 
> and
> 
> if (test != QString::null)
> 	inputName = QString::fromUtf8(test);
> 	 
> by
> if (test != QString::null)
> {
> 	inputName = QString::fromUtf8(test);
> 	channelinput = QString::fromUtf8(test);
> }

This part is not needed, channelinput is a local var.

Holger


More information about the mythtv-dev mailing list