Просмотр исходного кода

Fix retrieve code to allow multiple series download

This fix requires the dropNetwork branch of commontk/DCMTK in order to
build and run properly.
Steve Pieper лет назад: 14
Родитель
Сommit
79f703ce87
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      Libs/DICOM/Core/ctkDICOMRetrieve.cpp

+ 5 - 5
Libs/DICOM/Core/ctkDICOMRetrieve.cpp

@@ -237,11 +237,11 @@ bool ctkDICOMRetrievePrivate::retrieve ( QString UID, RetrieveType retriveType )
 
 
   delete responses;
-  //if ( !scu.dropNetwork().good() ) 
-    //{
-    //logger.error ( "Error dropping the network" );
-    //return false;
-    //}
+  if ( !scu.dropNetwork().good() ) 
+    {
+    logger.error ( "Error dropping the network" );
+    return false;
+    }
   return true;
 }