Do not leave dangling pointers in KToolbar when xml clients die
author Albert Astals Cid
()
committer Albert Astals Cid
()
commit 776098aae397b499a95d6855ef16f67eb8546598
tree c000c293dd57fa8f72ba3ca8b257d0b17ef931c8
parent bbb0c55eb463389f25d04c9f4167b807a93c83ce
Do not leave dangling pointers in KToolbar when xml clients die

Acked by dfaure

REVIEW: 105399
BUGS: 296622
FIXED-IN: 4.8.5
kdeui/widgets/ktoolbar.cpp
kdeui/widgets/ktoolbar.h
kdeui/xmlgui/kxmlguifactory_p.cpp