[mythtv-commits] Ticket #4084: Mythtv uses QApplication::enter_loop which is obsolete

MythTV mythtv at cvs.mythtv.org
Sun Nov 25 17:08:21 UTC 2007


#4084: Mythtv uses QApplication::enter_loop which is obsolete
---------------------------------------+------------------------------------
 Reporter:  candrews at integralblue.com  |        Owner:  danielk
     Type:  patch                      |       Status:  closed 
 Priority:  minor                      |    Milestone:  unknown
Component:  mythtv                     |      Version:  head   
 Severity:  medium                     |   Resolution:  fixed  
  Mlocked:  0                          |  
---------------------------------------+------------------------------------
Changes (by danielk):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [14951]) Fixes #4084. Code tidy from candrews.

 As of Qt 3.1 using the QApplication thunks for QEventLoop::enterLoop() and
 QEventLoop::exitLoop() is depreciated. Instead you get a pointer from
 QApplication to it's event loop, check that it isn't null, and then call
 enter and exit directly.

 This does not offer any power saving enhancements or anything like that
 discussed in the ticket comments, but it should be one less thing to worry
 about for the Qt 4.x port.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4084#comment:8>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list