Fix compile for Carbon
authorAndy Shaw <andy.shaw@digia.com>
Fri, 7 Feb 2014 08:44:12 +0000 (09:44 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Feb 2014 13:36:55 +0000 (14:36 +0100)
commita5878c18c3e41105fbb64e09c6ccbac166a6f08f
treed40a3f9976c82b192f928e21f5de251c6b0aedfc
parent811f22d44edc4e57236afef0803ff18504bfedf6
Fix compile for Carbon

Protect the usage of qt_mac_loadMenuNib so it is only used on Cocoa as
this call is not used in Carbon code.

Change-Id: I93b9b513dce934680e1d5e1fb26bf2a64e25c764
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/gui/kernel/qapplication_mac.mm