┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2009-09-18 14:15:44 +0000
committerDavid Faure <[email protected]>2009-09-18 14:15:44 +0000
commitcd13cc342b5d034fbba2c56c5d361ee804de1b21 (patch)
treef3a47532b3027a22964a35c16ececa4592a482de /src
parent48da822898279a0b54eeb431ee88104380a7ad20 (diff)
don't call deleteLater on a null pointer, gives "QCoreApplication::postEvent: Unexpected null receiver"
svn path=/trunk/KDE/kdebase/apps/; revision=1025364
Diffstat (limited to 'src')
-rw-r--r--src/dolphinview.cpp3
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;
}