remove dead return code
This commit is contained in:
parent
cae1a742ea
commit
d9e5aac828
|
@ -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);
|
||||||
|
return w->event(event); // access to a protected base class member
|
||||||
if ( w )
|
|
||||||
return w->event(event); // access to a protected base class member
|
|
||||||
else
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue