diff OrthancServer/QueryRetrieveHandler.cpp @ 3843:138d0dde41b5

end of replacements of DicomUserConnection by DicomControlUserConnection
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 Apr 2020 17:24:24 +0200
parents 94f4a18a79cc
children 2effa961f67f
line wrap: on
line diff
--- a/OrthancServer/QueryRetrieveHandler.cpp	Thu Apr 16 17:03:34 2020 +0200
+++ b/OrthancServer/QueryRetrieveHandler.cpp	Thu Apr 16 17:24:24 2020 +0200
@@ -36,6 +36,7 @@
 
 #include "OrthancConfiguration.h"
 
+#include "../Core/DicomNetworking/DicomControlUserConnection.h"
 #include "../Core/DicomParsing/FromDcmtkBridge.h"
 #include "../Core/Logging.h"
 #include "LuaScripting.h"
@@ -81,8 +82,7 @@
       FixQueryLua(fixed, context_, modality_.GetApplicationEntityTitle()); 
 
       {
-        DicomUserConnection connection(localAet_, modality_);
-        connection.Open();
+        DicomControlUserConnection connection(localAet_, modality_);
         connection.Find(answers_, level_, fixed, findNormalized_);
       }