Cocoa: Add env variable for disabling foreground.
authorMorten Sorvig <morten.sorvig@nokia.com>
Tue, 4 Oct 2011 07:54:38 +0000 (09:54 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 4 Oct 2011 11:29:13 +0000 (13:29 +0200)
commit5066c914bdf8a911eb769abb4003e154334a459c
treed7cf9ae44eaa0561abd921be9f1581bcdd40da30
parent4ebc83745d21072952527f87a43906ea2b71fc27
Cocoa: Add env variable for disabling foreground.

Setting QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM
prevents the process from having an dock icon and
taking focus.

Change-Id: Id127967d8ec1dadda790128f36a7c1f50d581433
Reviewed-on: http://codereview.qt-project.org/5968
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Zeno Albisser <zeno.albisser@nokia.com>
src/plugins/platforms/cocoa/qcocoaintegration.mm