Ticket #6550: speedup.patch
File speedup.patch, 829 bytes (added by , 15 years ago) |
---|
-
mythtv/programs/mythfrontend/proglist.cpp
1350 1350 ProgramInfo *s; 1351 1351 vector<ProgramInfo *> sortedList; 1352 1352 1353 while ( m_itemList.count())1353 while (!m_itemList.empty()) 1354 1354 { 1355 1355 s = m_itemList.take(0); 1356 1356 if (m_type == plTitle) … … 1442 1442 1443 1443 QString tmptitle; 1444 1444 1445 for (uint i = 0; i < m_itemList.count(); i++) 1445 ProgramList::const_iterator it = m_itemList.begin(); 1446 for (; it != m_itemList.end(); ++it) 1446 1447 { 1447 ProgramInfo *pginfo = m_itemList.at(i);1448 ProgramInfo *pginfo = *it; 1448 1449 QString state; 1449 1450 1450 1451 if (pginfo->recstatus == rsRecording)