Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
79f703ce87
1 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  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;
 }