Fix crash when clicking an action in the Places Panel context menu, and the corresponding device has been removed while the context menu was open

Review Request #108989 - Created Feb. 17, 2013 and submitted

Information
Frank Reininghaus
kde-baseapps
KDE/4.10
315298
Reviewers
dolphin
After a context menu action has been clicked which needs to access a device, we have to check if the position of the device is still the same and adjust its index accordingly. More importantly, we also have to verify if the device is still there to prevent a crash.
Cannot reproduce the crash any more. Could not see any regressions so far.
Emmanuel Pescosta
Emmanuel Pescosta
Commit Hook
Frank Reininghaus
Review request changed

Status: Closed (submitted)

Loading...