[mythtv-commits] mythtv commit: r19720 by ijr
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sun Jan 18 01:40:54 UTC 2009
Author: ijr
Date: 2009-01-18 01:40:54 +0000 (Sun, 18 Jan 2009)
New Revision: 19720
Changeset: http://cvs.mythtv.org/trac/changeset/19720
Modified:
trunk/mythtv/libs/libmythui/mythimage.cpp
trunk/mythtv/libs/libmythui/mythimage.h
trunk/mythtv/libs/libmythui/mythuihelper.cpp
trunk/mythtv/libs/libmythui/mythuihelper.h
Log:
Fix the image cache to only consider items otherwise unused to be "in" the cache for memory accouting purposes. Earlier it would consider all items in the cache to be "in", so the cache would fill up with things like menu watermarks (which are always referenced elsewhere, so shouldn't be considered), and essentially refuse to cache any other items.
This, like the rest of the UI code, assumes it will only be called from the main Qt thread.
More information about the mythtv-commits
mailing list