diff --git a/retroshare-gui/src/gui/RsGUIEventManager.cpp b/retroshare-gui/src/gui/RsGUIEventManager.cpp index 82d66e799..73bdb8a3a 100644 --- a/retroshare-gui/src/gui/RsGUIEventManager.cpp +++ b/retroshare-gui/src/gui/RsGUIEventManager.cpp @@ -398,7 +398,10 @@ void RsGUIEventManager::async_handleIncomingEvent(std::shared_ptr if (rsPlugin) { ToasterNotify *toasterNotify = rsPlugin->qt_toasterNotify(); if (toasterNotify) { - insertToaster(toasterNotify->toasterItem()); + ToasterItem *toasterItem = toasterNotify->toasterItem(); + if (toasterItem) { + insertToaster(toasterItem); + } continue; } }