diff options
Diffstat (limited to 'src/gui/embedded/qscreen_qws.cpp')
-rw-r--r-- | src/gui/embedded/qscreen_qws.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/embedded/qscreen_qws.cpp b/src/gui/embedded/qscreen_qws.cpp index 6f32879..6741f2c 100644 --- a/src/gui/embedded/qscreen_qws.cpp +++ b/src/gui/embedded/qscreen_qws.cpp @@ -2038,7 +2038,8 @@ QScreen::~QScreen() void QScreen::shutdownDevice() { #ifndef QT_NO_QWS_CURSOR - qt_screencursor->hide(); + if (qt_screencursor) + qt_screencursor->hide(); #endif } |