summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxscreen.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxscreen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxscreen.cpp b/src/plugins/platforms/qnx/qqnxscreen.cpp
index 79a1a31eb4..8461e37e4d 100644
--- a/src/plugins/platforms/qnx/qqnxscreen.cpp
+++ b/src/plugins/platforms/qnx/qqnxscreen.cpp
@@ -200,6 +200,9 @@ QQnxScreen::~QQnxScreen()
Q_FOREACH (QQnxWindow *childWindow, m_childWindows)
childWindow->setScreen(0);
+ if (m_coverWindow)
+ m_coverWindow->setScreen(0);
+
delete m_cursor;
}