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

List:       kde-commits
Subject:    kdesdk/kbabel/catalogmanager
From:       Stanislav Višňovský <visnovsky () nenya ! ms ! mff ! cuni ! cz
Date:       2003-03-24 17:56:19
[Download RAW message or body]

CVS commit by nanulo: 

Fix possible crash if the item disappeared in the meantime


  M +6 -0      catalogmanagerview.cpp   1.81


--- kdesdk/kbabel/catalogmanager/catalogmanagerview.cpp  #1.80:1.81
@@ -1004,4 +1004,10 @@ QString CatalogManagerView::find( FindOp
    {
          CatManListItem* item = _fileList[(*it)];
+         
+         if( !item )
+         {
+            kdWarning(KBABEL_CATMAN) << "The file information not found, skipping" << endl;
+            continue;
+         }
 
          // skip if not marked and we lookup in marked


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

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