[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 94305] right click on icon in programs:/ crashes konqueror
From:       Pascal "Létourneau" <pletourn () globetrotter ! net>
Date:       2004-12-10 17:12:09
Message-ID: 20041210171209.8496.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=94305        
pletourn globetrotter net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From pletourn globetrotter net  2004-12-10 18:12 -------
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);
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic