Qt: fixed compilation under darwin

git-svn-id: trunk@35310 -
This commit is contained in:
zeljko 2012-02-11 18:39:48 +00:00
parent df64a76620
commit d0ea51667e

View File

@ -112,7 +112,7 @@ begin
{$ENDIF}
{$IFDEF DARWIN}
// do not swap meta and ctrl keys, issue #20897
if not FIsLibraryInstance then (QtVersionMajor = 4) and (QtVersionMinor > 5) then
if not FIsLibraryInstance and (QtVersionMajor = 4) and (QtVersionMinor > 5) then
QCoreApplication_setAttribute(QtAA_MacDontSwapCtrlAndMeta, True);
{$ENDIF}
FGlobalActions := TFPList.Create;