[mythtv-commits] mythtv commit: r22551 by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Oct 21 03:29:32 UTC 2009
Author: cpinkham
Date: 2009-10-21 03:29:32 +0000 (Wed, 21 Oct 2009)
New Revision: 22551
Changeset: http://cvs.mythtv.org/trac/changeset/22551
Modified:
trunk/mythtv/libs/libmythui/mythuitype.cpp
Log:
Fix an issue affecting the Qt painter not drawing parts of the screen
under certain circumstances.
In MythUIType::Draw, we were making the assumption that after this
draw, there was nothing more for us to draw. This is an invalid
assumption when the drawing area is clipped using the Qt painter.
Instead of resetting the dirty QRegion, subtract out the QRect
that we are being instructed to draw. If there are no more dirty
regions, then we set m_NeedsRedraw to false so we aren't called
unnecesarily.
More information about the mythtv-commits
mailing list