OS X: Make Qt application react on applicationShouldHandleReopen
authorSamuel Gaist <samuel.gaist@edeltech.ch>
Wed, 16 Apr 2014 06:16:04 +0000 (08:16 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 17 Apr 2014 18:28:04 +0000 (20:28 +0200)
commit3d5122eab127fbe13d4e13a92ee5f6d6686d2f2f
treebc374a24b69dc4def00c44ac9497fe339d53af14
parent04c780dcf681074623c11abb4786d75a018ac40d
OS X: Make Qt application react on applicationShouldHandleReopen

Currently a click on e.g. the dock icon is not propagated to the
application so if for example the main widget is hidden, it doesn't come
back. This patch fixes it

Task-number: QTBUG-10899

[ChangeLog][QtGui][OS X] Fixes a bug where clicking on the dock icon
would not be propagated to the application

Change-Id: Ia02ca23ed0dafbd337d1d7d9bc5f7efe3843b512
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/gui/kernel/qcocoaapplicationdelegate_mac.mm