diff options
| author | David Faure <[email protected]> | 2009-09-18 14:15:44 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2009-09-18 14:15:44 +0000 |
| commit | cd13cc342b5d034fbba2c56c5d361ee804de1b21 (patch) | |
| tree | f3a47532b3027a22964a35c16ececa4592a482de | |
| parent | 48da822898279a0b54eeb431ee88104380a7ad20 (diff) | |
don't call deleteLater on a null pointer, gives "QCoreApplication::postEvent: Unexpected null receiver"
svn path=/trunk/KDE/kdebase/apps/; revision=1025364
| -rw-r--r-- | src/dolphinview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 476f6591d..85bc21c77 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -1416,7 +1416,8 @@ void DolphinView::ViewAccessor::deleteView() m_iconsView = 0; m_detailsView = 0; - m_columnsContainer->deleteLater(); + if (m_columnsContainer) + m_columnsContainer->deleteLater(); m_columnsContainer = 0; } |
