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:
parent
2057c797cb
commit
d5cf8e21b2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue