From d5cf8e21b220495aec3323270d51e9a42d3edd8d Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Sat, 4 Jun 2016 01:13:47 +0200 Subject: [PATCH] Add cleaning of the new uuid and label properties --- src/machinery/scantask/setbasic.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/machinery/scantask/setbasic.cpp b/src/machinery/scantask/setbasic.cpp index f9f4e29..53a5f97 100644 --- a/src/machinery/scantask/setbasic.cpp +++ b/src/machinery/scantask/setbasic.cpp @@ -30,10 +30,14 @@ namespace mchlib { void SetBasic::on_data_destroy (SetRecordDataFull& parData) { parData.name.clear(); + parData.fs_uuid.clear(); + parData.disk_label.clear(); } void SetBasic::on_data_create (SetRecordDataFull& parData) { parData.name = m_set_name; + parData.fs_uuid.clear(); + parData.disk_label.clear(); } } //namespace scantask } //namespace mchlib