remove dead return code

This commit is contained in:
Markus Gans 2016-10-13 02:57:11 +02:00
parent cae1a742ea
commit d9e5aac828
1 changed files with 1 additions and 5 deletions

View File

@ -1907,11 +1907,7 @@ bool FApplication::sendEvent(FObject* receiver, FEvent* event)
// sends event event directly to receiver // sends event event directly to receiver
FApplication* w = static_cast<FApplication*>(widget); FApplication* w = static_cast<FApplication*>(widget);
if ( w )
return w->event(event); // access to a protected base class member return w->event(event); // access to a protected base class member
else
return false;
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------