[mythtv] [mythtv-commits] mythtv/master commit: 67abaa6d2 by Stuart Morgan (stuartm)

Markus Schulz msc at antzsystem.de
Sun Feb 27 10:33:51 UTC 2011

Am Samstag 26 Februar 2011 schrieb MythTV:
>       Author:  Stuart Morgan <smorgan at mythtv.org>
>  Change Date:  2011-02-26T07:25:04-08:00
>    Push Date:  2011/02/26 07:25:15 -0800
>   Repository:  mythtv
>       Branch:  master
> New Revision:  67abaa6d2ab7e64cab0ffffe5b39454429e6c356
>    Changeset:  https://github.com/MythTV/mythtv/commit/67abaa6d2
> Log:
> Prevent segfault if a progress event claims to be something it is
> not. (No idea why this would happen)
> Modified:
>    mythtv/libs/libmythui/mythprogressdialog.cpp

wrong fix.
move the ctor implementation of class ProgressUpdateEvent from h to cpp 
file to make sure it's not a pure inline class (all methods are inline) 
and dynamic_cast works fine (progress bar was updated). Looks like gcc 
compiler optimization prevents dynamic_cast for pure inline classes (i'm 
still searching for a detailed explanation).


More information about the mythtv-dev mailing list