Cocoa: Remove unused QApplicationPrivate from QCocoaApplicationDelegate
authorBradley T. Hughes <bradley.hughes@nokia.com>
Fri, 8 Jun 2012 11:13:23 +0000 (13:13 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 12 Jun 2012 09:19:20 +0000 (11:19 +0200)
commitb0e0671152ed204547fca9dfd7a0235bb3a62cfd
tree24fe9e3b5e955efcd494c921bb37dcf1c0df4734
parent4591f67e917c4a0ecfbb99c7e37d3ebbf4280c9c
Cocoa: Remove unused QApplicationPrivate from QCocoaApplicationDelegate

To avoid a QtWidget dependency, we should use QGuiApplicationPrivate
isntead, but instead of storing, we can use
QGuiAppliationPrivate::instance() instead.

Change-Id: If3f63fee804b7ad32fe8d612bf70c051b70f54c8
Reviewed-by: James Turner <james.turner@kdab.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/platforms/cocoa/qcocoaapplication.h
src/plugins/platforms/cocoa/qcocoaapplication.mm
src/plugins/platforms/cocoa/qcocoaapplicationdelegate.h
src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm