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

List:       kde-commits
Subject:    kdevelop/parts/autoproject
From:       Roberto Raggi <roberto () kdevelop ! org>
Date:       2003-05-20 15:50:37
[Download RAW message or body]

CVS commit by raggi: 

fixed possible null pointer access


  M +3 -0      addexistingfilesdlg.cpp   1.5


--- kdevelop/parts/autoproject/addexistingfilesdlg.cpp  #1.4:1.5
@@ -137,4 +137,7 @@ void AddExistingFilesDialog::init()
 void AddExistingFilesDialog::importItems()
 {
+    if( !importView->items() )
+        return;
+    
         // items added via button or drag 'n drop
         KFileItemListIterator itemList ( m_importList );


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

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