From 24f6e4e97c33bd04ef0aae476cefe7d44f9df2d3 Mon Sep 17 00:00:00 2001 From: Krad Date: Wed, 11 May 2022 09:40:26 +0800 Subject: [PATCH] Clean code. --- src/device/DeviceManager.cpp | 15 --------------- src/forms/select/SelectFormWidget.cpp | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/device/DeviceManager.cpp b/src/device/DeviceManager.cpp index 07e99d5..ae28cde 100644 --- a/src/device/DeviceManager.cpp +++ b/src/device/DeviceManager.cpp @@ -58,10 +58,6 @@ void DeviceManager::initDevice() { // empty scan connect(EventCenter::Default(), &EventCenter::RequestEmptyScan, [=](QObject* sender, QObject* detail) { std::string json = getJsonFromPatInf(detail); - // qDebug()<setEnabled(true); }); - // btn add slot + // EditPatientForm editAccept slot connect(edit_patient, &EditPatientForm::editAccept, [=](PatientInformation* inf, bool& result) { int selectedRow = table->currentIndex().row(); bool isAdd = inf->PatientUID.isEmpty();