[mythtv-commits] mythtv commit: r23811 by jpoet

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Mar 26 00:15:07 UTC 2010

      Author: jpoet
        Date: 2010-03-26 00:15:07 +0000 (Fri, 26 Mar 2010)
New Revision: 23811
   Changeset: http://svn.mythtv.org/trac/changeset/23811




Fix an off by 1 error in MythUIText::cutDown

When asking QFontMetrics::width for the width needed for the given
text, the last character of the text was not being included. If that last
character happened to be the difference between the text fitting or not, we
would incorrectly conclude that it did fit.

Note: this should have gone in as part of r23790

More information about the mythtv-commits mailing list