1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-29 01:33:46 +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) {
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