Fix crash caused by dereferencing a deleted submenu

Review Request #119004 - Created June 28, 2014 and submitted

Information
Arjun AK
konsole
frameworks
Reviewers
konsole
Submenu of new "newTabMenuAction" is dereferenced in multiple places without first checking whether it is null or not which can lead to a crash, especially since we delete it (https://projects.kde.org/projects/kde/applications/konsole/repository/revisions/c4f7f512f3bbd8235947defc8f3f848244d7ca1b/entry/src/MainWindow.cpp#L422) if there is only one profile to be shown.

  
Kurt Hindenburg
Commit Hook
This review has been submitted with commit 86ee13f5839e24adf3fa1d11320f2ac93d8a3651 by Kurt Hindenburg to branch frameworks.
Arjun AK
Review request changed

Status: Closed (submitted)

Loading...