mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 08:39:08 -05:00
Merge pull request #3055 from thunder2/fix-notify
Fixed crash (NULL pointer access) in RsGUIEventManager::async_handleI…
This commit is contained in:
commit
6f33dcc8e7
1 changed files with 4 additions and 1 deletions
|
|
@ -398,7 +398,10 @@ void RsGUIEventManager::async_handleIncomingEvent(std::shared_ptr<const RsEvent>
|
|||
if (rsPlugin) {
|
||||
ToasterNotify *toasterNotify = rsPlugin->qt_toasterNotify();
|
||||
if (toasterNotify) {
|
||||
insertToaster(toasterNotify->toasterItem());
|
||||
ToasterItem *toasterItem = toasterNotify->toasterItem();
|
||||
if (toasterItem) {
|
||||
insertToaster(toasterItem);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue