Attempted fix for when changing the profile of a tab after making use of the...
Attempted fix for when changing the profile of a tab after making use of the split-view feature. Dangling pointers were being left in ViewManager::_sessionMap (even though _sessionMap previously stored QPointer guarted ptrs rather than raw pointers). Call removeContainer() to remove views cleanly from the _sessionMap hash when the 'Close Other Views' action is triggered rather than simply deleting the view container directly. Store raw pointers in _sessionMap variable since QPointer<> does not work here. svn path=/trunk/KDE/kdebase/apps/konsole/; revision=734008
Showing with 8 additions and 6 deletions