[mythtv-commits] Ticket #5179: QImage takes an int for the number of colors (which means it can only take 2 Mi colors)
MythTV
mythtv at cvs.mythtv.org
Tue Apr 8 15:47:58 UTC 2008
#5179: QImage takes an int for the number of colors (which means it can only take
2 Mi colors)
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: new
Priority: trivial | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Mlocked: 0
---------------------------------------------+------------------------------
QImage takes a parameter in its constructor that specifies the number of
colors the image can have. That parameter type is an int. Which can only
go to 2 Mibi colors. In a few places where QImages are used they are given
4 Mibi colors. Which is an integer overflow value to a constructor.
Probably nothing bad is happening. But it is likely better to give the
integer max instead of an overflow value.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5179>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list