diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-01-11 14:23:05 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-12 14:38:29 +0100 |
commit | a43986e2a5229aa32e9383677cd8e036a0e7c0b7 (patch) | |
tree | 2e5bd0b9008a5599d42d0137a625a426d5ece461 /doc/src/network/network-programming | |
parent | 9834b3681fb02ef5eaab19d678b674365a4381e4 (diff) |
Don't crash during QApplication construction
The QCoreApplication::init() function calls the virtual
QCoreApplicationPrivate::createEventDispatcher(), which for
QApplication, also creates the plaform integration. Unfortunately, the
Cocoa menubar integration uses qApp before QApplication is constructed,
causing a crash. Circumvent this by using QGuiApplicationPrivate
directly.
Change-Id: Ib36f628641761e70f9e9e39dd23e70e7537a165b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'doc/src/network/network-programming')
0 files changed, 0 insertions, 0 deletions