From 1751e5ba786a25c728c68d6e37fa7ccaa0f882d4 Mon Sep 17 00:00:00 2001 From: kradchen Date: Tue, 9 Sep 2025 08:54:58 +0800 Subject: [PATCH] feat: make dicom fetch protocal text be fixed with CMOVE --- src/src/PACS/Widget/pacsconfiguration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/src/PACS/Widget/pacsconfiguration.cpp b/src/src/PACS/Widget/pacsconfiguration.cpp index 95f39e1..d05f6ea 100644 --- a/src/src/PACS/Widget/pacsconfiguration.cpp +++ b/src/src/PACS/Widget/pacsconfiguration.cpp @@ -256,7 +256,7 @@ void ConfigurationDialog::initPacsInfo() QStandardItem* port = new QStandardItem(var.port); port->setEditable(false); QStandardItem* ae = new QStandardItem(var.ae); ae->setEditable(false); QStandardItem* name = new QStandardItem(var.name); name->setEditable(false); - QStandardItem* protocol = new QStandardItem(var.protocol == 0 ? "C-MOVE" : "C-GET"); protocol->setEditable(false); + QStandardItem* protocol = new QStandardItem( "C-MOVE");protocol->setEditable(false); QStandardItem* count = new QStandardItem("1"); count->setEditable(false); QStandardItem* xfers = new QStandardItem("Explicit VR LE"); xfers->setEditable(false); QStandardItem* cset = new QStandardItem("Default"); cset->setEditable(false); @@ -282,7 +282,7 @@ void ConfigurationDialog::updatePacsView() QStandardItem* port = new QStandardItem(itr->port); port->setEditable(false); QStandardItem* ae = new QStandardItem(itr->ae); ae->setEditable(false); QStandardItem* name = new QStandardItem(itr->name); name->setEditable(false); - QStandardItem* protocol = new QStandardItem(itr->protocol == 0 ? "C-MOVE" : "C-GET"); protocol->setEditable(false); + QStandardItem* protocol = new QStandardItem("C-MOVE" ); protocol->setEditable(false); QStandardItem* count = new QStandardItem("1"); count->setEditable(false); QStandardItem* xfers = new QStandardItem("Explicit VR LE"); xfers->setEditable(false); QStandardItem* cset = new QStandardItem("Default"); cset->setEditable(false);