Don't crash if we have no WindowTitleUpdater registered
Subsurface-mobile doesn't have a window title with the name of our file name at this point, so simply don't try to trigger the update. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8a43e07408
commit
00c1405535
@ -27,5 +27,6 @@ void WindowTitleUpdate::emitSignal()
|
||||
extern "C" void updateWindowTitle()
|
||||
{
|
||||
WindowTitleUpdate *wt = WindowTitleUpdate::instance();
|
||||
wt->emitSignal();
|
||||
if (wt)
|
||||
wt->emitSignal();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user