Qt: revert r34171 #7571057b7d, mac can crash with this enabled under heavy load, let qt think about time of creation of window.

git-svn-id: trunk@34187 -
This commit is contained in:
zeljko 2011-12-14 17:33:50 +00:00
parent 8d9b107ca7
commit 59c576a21a

View File

@ -158,7 +158,7 @@ begin
{$endif}
// Creates the window
{$IFDEF UNIX}
{$IFDEF HASX11}
if (QtVersionMajor = 4) and (QtVersionMinor >= 6) then
QCoreApplication_setAttribute(QtAA_ImmediateWidgetCreation, True);
{$ENDIF}
@ -201,7 +201,7 @@ begin
QtMainWindow.setPopupParent(AForm.PopupMode, PopupParent);
end;
{$IFDEF UNIX}
{$IFDEF HASX11}
if (QtVersionMajor = 4) and (QtVersionMinor >= 6) then
QCoreApplication_setAttribute(QtAA_ImmediateWidgetCreation, False);
{$ENDIF}