summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire@kdab.com>2012-04-02 12:03:46 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-03 21:02:32 +0200
commit86bbb5d173747a5c407af1ac8a70fcd36b0854cd (patch)
tree4c54d7cc8706efc4f05c657d815ed6a37418ec99 /src/plugins/platforms/qnx
parent772d748b95c068d93fce1d681a457ae97019ec40 (diff)
Delete the screen event handler after its last user.
Change-Id: I2e3c6d08c0dcdd4b954570e9a2198c190c8fffd2 Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins/platforms/qnx')
-rw-r--r--src/plugins/platforms/qnx/qqnxintegration.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.cpp b/src/plugins/platforms/qnx/qqnxintegration.cpp
index 687002db09..d847c632df 100644
--- a/src/plugins/platforms/qnx/qqnxintegration.cpp
+++ b/src/plugins/platforms/qnx/qqnxintegration.cpp
@@ -149,7 +149,6 @@ QQnxIntegration::~QQnxIntegration()
qDebug() << "QQnx: platform plugin shutdown begin";
#endif
- delete m_screenEventHandler;
delete m_nativeInterface;
@@ -170,6 +169,8 @@ QQnxIntegration::~QQnxIntegration()
// Stop/destroy navigator thread
delete m_navigatorEventHandler;
+ delete m_screenEventHandler;
+
// Destroy all displays
destroyDisplays();