[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/fileview
From: Mario Scalas <mario.scalas () libero ! it>
Date: 2003-12-09 7:18:04
[Download RAW message or body]
CVS commit by marios:
Fixed a null-pointer reference
M +2 -3 filetreewidget.cpp 1.57
--- kdevelop/parts/fileview/filetreewidget.cpp #1.56:1.57
@@ -199,9 +199,8 @@ void FileTreeWidget::slotContextMenu( KL
KPopupMenu popup( i18n("File Tree"), this );
- m_impl->fillPopupMenu( &popup, item );
-
// If an item is selected, fill the file context with selected files' list
- if (item != 0)
+ if (item)
{
+ m_impl->fillPopupMenu( &popup, item );
FileContext context( m_impl->selectedPathUrls() );
m_part->core()->fillContextMenu( &popup, &context );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic