[mythtv-commits] mythtv commit: r18318 by nigel

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Sep 18 02:27:18 UTC 2008

      Author: nigel
        Date: 2008-09-18 02:27:18 +0000 (Thu, 18 Sep 2008)
New Revision: 18318
   Changeset: http://cvs.mythtv.org/trac/changeset/18318




Fix GetCDROMBlockDevices(). It seems, at least on my main test machine,
that QTextStream::atEnd() always returns true on many /proc files -
until the first read. See [17688]. Not sure if this is Qt4 only.
Also made the reading loop more efficient - since the line listing
the devices is near the front, we don't need to read the rest!

More information about the mythtv-commits mailing list