diff options
author | Thomas McGuire <thomas.mcguire@kdab.com> | 2012-04-02 12:03:46 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-03 21:02:32 +0200 |
commit | 86bbb5d173747a5c407af1ac8a70fcd36b0854cd (patch) | |
tree | 4c54d7cc8706efc4f05c657d815ed6a37418ec99 /src/plugins/platforms/qnx/qqnxintegration.cpp | |
parent | 772d748b95c068d93fce1d681a457ae97019ec40 (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/qqnxintegration.cpp')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxintegration.cpp | 3 |
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(); |