diff options
author | Rafael Roquetto <rafael.roquetto.qnx@kdab.com> | 2012-07-17 13:45:03 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-17 13:50:16 (GMT) |
commit | e3e380a07b34b9da87f5835f2cc397e93ab534f5 (patch) | |
tree | 900315cf1125599e1e7bc16b4049c90e5e4a91b5 | |
parent | a9c9f5ab269f7e42b9a53dfac43ae2aead706ffd (diff) | |
download | Qt-e3e380a07b34b9da87f5835f2cc397e93ab534f5.zip Qt-e3e380a07b34b9da87f5835f2cc397e93ab534f5.tar.gz Qt-e3e380a07b34b9da87f5835f2cc397e93ab534f5.tar.bz2 |
[Blackberry] Initialize dangling pointer
This was causing the plugin to misbehave whenever the pointer was pointing to
random memory address.
This is a Qt4 only issue.
Change-Id: Ibfe5eec52414b8c37d613b3a99f310ed1184c4ea
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
-rw-r--r-- | src/plugins/platforms/blackberry/qbbintegration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/blackberry/qbbintegration.cpp b/src/plugins/platforms/blackberry/qbbintegration.cpp index 7371bd5..7e73e47 100644 --- a/src/plugins/platforms/blackberry/qbbintegration.cpp +++ b/src/plugins/platforms/blackberry/qbbintegration.cpp @@ -80,6 +80,7 @@ QT_BEGIN_NAMESPACE Q_DECLARE_METATYPE(screen_window_t); QBBIntegration::QBBIntegration() : + mScreenEventThread(0), mNavigatorEventHandler(new QBBNavigatorEventHandler()), mFontDb(new QGenericUnixFontDatabase()), mScreenEventHandler(new QBBScreenEventHandler()), |