diff options
Diffstat (limited to 'subsurface-core')
-rw-r--r-- | subsurface-core/windowtitleupdate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subsurface-core/windowtitleupdate.cpp b/subsurface-core/windowtitleupdate.cpp index eec324c68..963455f1d 100644 --- a/subsurface-core/windowtitleupdate.cpp +++ b/subsurface-core/windowtitleupdate.cpp @@ -27,5 +27,6 @@ void WindowTitleUpdate::emitSignal() extern "C" void updateWindowTitle() { WindowTitleUpdate *wt = WindowTitleUpdate::instance(); - wt->emitSignal(); + if (wt) + wt->emitSignal(); } |