diff options
| author | Frank Reininghaus <[email protected]> | 2012-08-24 23:21:31 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-08-24 23:29:17 +0200 |
| commit | ca6459ea5a950ed160486cf978be3f5f5a106fd6 (patch) | |
| tree | 1836b7f25414b05447747b9f9c91739bc847b6c1 /src/dolphinmainwindow.cpp | |
| parent | 89a678241d7f0b341bebd19c006541bd7f28f2ab (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/dolphinmainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
