[mythtv-commits] mythtv commit: r21362 by janne
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Aug 19 23:49:22 UTC 2009
Author: janne
Date: 2009-08-19 23:49:22 +0000 (Wed, 19 Aug 2009)
New Revision: 21362
Changeset: http://cvs.mythtv.org/trac/changeset/21362
Modified:
trunk/mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
trunk/mythtv/libs/libmythtv/channelscan/channelscan_sm.h
Log:
change data structure holding scanning information from QMap to QList<QPair>
There no real advantage of using a map over a list. In the following commits
the transport_scan_items_t underlaying container will change from QList
to a real double linked list. This is needed for extending the list of
transports to scan during the scan since a reallocation during appending to
a QList invalidates all iterators. We can't use std::list iterators as
keys of the map.
Refs #6756
More information about the mythtv-commits
mailing list