[mythtv-commits] mythtv commit: r12373 by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Jan 2 11:09:13 UTC 2007


      Author: paulh
        Date: 2007-01-02 11:09:12 +0000 (Tue, 02 Jan 2007)
New Revision: 12373
   Changeset: http://cvs.mythtv.org/trac/changeset/12373

Modified:

   trunk/mythtv/programs/mythfrontend/main.cpp

Log:

This fixes a problem where exiting the Appearance settings sometimes causes a
segfault. It actually only affects the classic menu layout but it was only by
luck the DVR and default layouts worked.

Basically this commit makes sure the AppearanceSettings dialog is deleted and
cleaned up before doing the JumpTo("Reload Theme") so that when its detached
from the MythMainWindow it doesn't send an ExitToMainMenuEvent which was 
causing all the problems.

It also only reloads the theme if the user completed the settings dialog by
pressing "Finish".

Fixes #2860, #2580, #2738.




More information about the mythtv-commits mailing list