1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-12-01 01:45:42 +00:00

Add cleaning of the new uuid and label properties

This commit is contained in:
King_DuckZ 2016-06-04 01:13:47 +02:00
parent 2057c797cb
commit d5cf8e21b2

View file

@ -30,10 +30,14 @@ namespace mchlib {
void SetBasic::on_data_destroy (SetRecordDataFull& parData) { void SetBasic::on_data_destroy (SetRecordDataFull& parData) {
parData.name.clear(); parData.name.clear();
parData.fs_uuid.clear();
parData.disk_label.clear();
} }
void SetBasic::on_data_create (SetRecordDataFull& parData) { void SetBasic::on_data_create (SetRecordDataFull& parData) {
parData.name = m_set_name; parData.name = m_set_name;
parData.fs_uuid.clear();
parData.disk_label.clear();
} }
} //namespace scantask } //namespace scantask
} //namespace mchlib } //namespace mchlib