[mythtv-commits] mythtv/master commit: 3bb2d89e8 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Thu Mar 17 03:25:15 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-03-16T20:18:01-07:00
   Push Date:  2011/03/16 20:25:13 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  3bb2d89e855719fbace508f20552f3465b0eb554
   Changeset:  https://github.com/MythTV/mythtv/commit/3bb2d89e8

Log:

Fix bool returns on sort routines

Found by Robert Kulagowski earlier today.  These routines are returning 1, 0, -1
but were defined as a bool.  Also QString::localeAwareCompare returns int.
As qsort and the like want positive, zero, negative to mean greater than,
equal, less than (in sorted order), this should work as desired.

Modified:

   mythtv/libs/libmythui/mythgenerictree.cpp



More information about the mythtv-commits mailing list