Compilation fix (cannot assign const pointer to non-const pointer)
authorBradley T. Hughes <bradley.hughes@nokia.com>
Thu, 27 Oct 2011 11:47:31 +0000 (13:47 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 27 Oct 2011 12:56:14 +0000 (14:56 +0200)
commitac96f78398d96a3d2c9a1e67e1315e9d0f663ad6
tree5eff7be46cd77ce22d689abdad7bab9e2c59712d
parenta73c3575005ff5636be207bf1ed680be9a5079bc
Compilation fix (cannot assign const pointer to non-const pointer)

After reinterpret_casting to const NSString *, we need to const_cast to
drop the cast to match the return type.

Change-Id: I3d202aec10e719a48f29d96b81621492936ac6ad
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/widgets/platforms/mac/qt_cocoa_helpers_mac_p.h