[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/konqueror/iconview
From: Pascal Létourneau <pletourn () globetrotter ! net>
Date: 2004-12-10 17:11:53
Message-ID: 20041210171153.F052E1BB6F () office ! kde ! org
[Download RAW message or body]
CVS commit by pletourn:
Don't crash
BUG: 94305
BUG: 94819
M +11 -9 konq_iconview.cc 1.482
--- kdebase/konqueror/iconview/konq_iconview.cc #1.481:1.482
@@ -799,4 +799,5 @@ void KonqKfmIconView::slotContextMenuReq
KFileItem * rootItem = m_dirLister->rootItem();
+ if ( rootItem ) {
KURL parentDirURL = rootItem->url();
// Check if parentDirURL applies to the selected items (usually yes, but not with search results)
@@ -808,4 +809,5 @@ void KonqKfmIconView::slotContextMenuReq
if ( !parentDirURL.isEmpty() && !rootItem->isWritable() )
popupFlags |= KParts::BrowserExtension::NoDeletion;
+ }
emit m_extension->popupMenu( 0L, _global, items, KParts::URLArgs(), popupFlags);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic