[mythtv-firehose] mythtv/master commit: 8fed79e19 by Chris Pinkham (cpinkham)

MythTV noreply at mythtv.org
Wed Oct 12 00:55:05 UTC 2011

      Author:  Chris Pinkham <cpinkham at mythtv.org>
 Change Date:  2011-10-11T17:49:42-07:00
   Push Date:  2011/10/11 17:54:45 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  8fed79e19f3fd6fada5c37f3ec3fc9224f872253
   Changeset:  https://github.com/MythTV/mythtv/commit/8fed79e19


Don't manipulate ProgList MythUI elements outside the UI thread

FillItemList is called both in the UI thread and outside the
UI thread.  Outside the UI thread, 'allowDisp' is false.  We don't
need to call m_progList->Reset() inside FillItemList because it
is called inside UpdateDisplay() which is called from FillItemList
when updateDisp is true.

This commit also refactors the two UpdateDisplay() methods a little
and adds a new RestoreSelection() method to perform the position
restoration that was originally in the 2nd UpdateDisplay() method.

Fixes #10073.



More information about the mythtv-firehose mailing list