summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorBernd Weimer <bweimer@rim.com>2012-09-12 08:32:46 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-09-12 17:45:30 (GMT)
commita66b95afe3befa0bc43221514832368ed445a7b8 (patch)
tree48ecca4737dd9808dcac03ac4a7432cf19bb7ef6 /src/plugins/platforms
parent95c55b8a913fd7aaa23a44f1f9aa568342b25e07 (diff)
downloadQt-a66b95afe3befa0bc43221514832368ed445a7b8.zip
Qt-a66b95afe3befa0bc43221514832368ed445a7b8.tar.gz
Qt-a66b95afe3befa0bc43221514832368ed445a7b8.tar.bz2
Fixed crash in blackberry platform plugin shutdown
Change-Id: I6f83b1223b7bd57b5dfc46fe5bed276269b1a676 Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/blackberry/qbbintegration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/blackberry/qbbintegration.cpp b/src/plugins/platforms/blackberry/qbbintegration.cpp
index 6733f18..1ad8ff6 100644
--- a/src/plugins/platforms/blackberry/qbbintegration.cpp
+++ b/src/plugins/platforms/blackberry/qbbintegration.cpp
@@ -190,11 +190,11 @@ QBBIntegration::~QBBIntegration()
}
#endif
- // stop/destroy navigator event handling classes
- delete mNavigatorEventNotifier;
-
#if defined(Q_OS_BLACKBERRY)
delete mBpsEventFilter;
+#else
+ // stop/destroy navigator event handling classes
+ delete mNavigatorEventNotifier;
#endif
// destroy the keyboard class.