[mythtv-commits] mythtv commit: r8824 by danielk

mythtv@cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Feb 2 02:43:34 UTC 2006


      Author: danielk
        Date: 2006-02-02 02:43:31 +0000 (Thu, 02 Feb 2006)
New Revision: 8824
   Changeset: http://cvs.mythtv.org/trac/changeset/8824

Modified:

   trunk/mythtv/programs/mythfrontend/playbackbox.cpp
   trunk/mythtv/programs/mythfrontend/playbackbox.h

Log:

Better fix for video preview playbackbox segfault from Holger Buchfink.

The earlier fix prevented double escape keyboard events from causing a segfault. With this commit doubled LIRC key events are also blocked.

<< MythMainWindow::processEvents() forwards events to its base QDialog::keyPressEvent() if the current widget is not enabled. PlaybackBox::KillPlayerSafe() sets enabled to false to avoid keyboard events, causing the second esc to close MythMainWindow since that's QDialog's default action for esc. >> -- Holger






More information about the mythtv-commits mailing list