Fixed crash caused by recursive infinite loop. This resolves issue #4.

Signed-off-by: Alex Kent <trinitydesktop@alephnull.net>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/7/head r14.1.0
Alex Kent 2 years ago committed by Michele Calgaro
parent 6d891f8dab
commit a1b598c8a3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -176,7 +176,7 @@ bool LiquidStyle::objectEventHandler( const TQStyleControlElementData &ceData,
} }
else if ( obj->inherits( "TQDockWindow" ) ) else if ( obj->inherits( "TQDockWindow" ) )
{ {
if (TDEStyle::eventFilter( obj, ev )) if (TQObject::eventFilter( obj, ev ))
return true; return true;
TQWidget * w = ( TQWidget * ) obj; TQWidget * w = ( TQWidget * ) obj;
if ( w->backgroundMode() != TQt::PaletteBackground ) if ( w->backgroundMode() != TQt::PaletteBackground )

Loading…
Cancel
Save