┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/draganddrophelper.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2012-08-24 23:21:31 +0200
committerFrank Reininghaus <[email protected]>2012-08-24 23:29:17 +0200
commitca6459ea5a950ed160486cf978be3f5f5a106fd6 (patch)
tree1836b7f25414b05447747b9f9c91739bc847b6c1 /src/views/draganddrophelper.cpp
parent89a678241d7f0b341bebd19c006541bd7f28f2ab (diff)
Do not crash when finishing inline renaming in unusual ways
The crash was caused by a null pointer dereference when, e.g., minimizing Dolphin. The root cause was that KStandardItemListWidget::closeRoleEditor() was called twice: once when the role editor loses focus, and once again when the window is resized. After m_roleEditor was set to 0, the second call dereferenced this null pointer. I think the best solution is to disconnect from the role editor's signals when the editor is not needed any more by the KStandardItemListWidget. CCBUG: 304524 (cherry picked from commit a9c2bdc3b53955693e716bbab58c318fe25bdc9b)
Diffstat (limited to 'src/views/draganddrophelper.cpp')
0 files changed, 0 insertions, 0 deletions