[mythtv-commits] mythtv commit: r22277 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Oct 6 21:34:00 UTC 2009


      Author: stuartm
        Date: 2009-10-06 21:33:59 +0000 (Tue, 06 Oct 2009)
New Revision: 22277
   Changeset: http://cvs.mythtv.org/trac/changeset/22277

Modified:

   trunk/mythtv/libs/libmythui/myththemedmenu.cpp

Log:

In QT4 a null string is also an empty string, so performing both isEmpty() and isNull() checks on the same string is redundant. isNull() is best replaced with isEmpty() anyway, since the null status of a QString is maintained only for backwards compatibility and isEmpty() is what we really want 99% of the time.




More information about the mythtv-commits mailing list