Qt: small optimisation.

git-svn-id: trunk@23542 -
This commit is contained in:
zeljko 2010-01-23 17:38:39 +00:00
parent 0a03e94890
commit 74af708d17

View File

@ -4382,7 +4382,7 @@ begin
QEventWindowDeactivate: SlotActivateWindow(False);
QEventShowToParent:
begin
if (Self is TQtMainWindow) and (TQtMainWindow(Self).IsMdiChild) then
if IsMdiChild then
begin
if not TCustomForm(LCLObject).Active then
begin