skip username metadata when dumping default cfg
This commit is contained in:
parent
c41d51e80c
commit
b6b2253da1
@ -37,6 +37,9 @@ int main (int argc, char **argv) {
|
|||||||
cfg->remove_nodes_and_delete ("name", "updates-url");
|
cfg->remove_nodes_and_delete ("name", "updates-url");
|
||||||
cfg->remove_nodes_and_delete ("name", "freesound-download-dir"); // user specific
|
cfg->remove_nodes_and_delete ("name", "freesound-download-dir"); // user specific
|
||||||
|
|
||||||
|
XMLNode* meta = state.child ("Metadata");
|
||||||
|
meta->remove_nodes ("user_name");
|
||||||
|
|
||||||
XMLTree tree;
|
XMLTree tree;
|
||||||
tree.set_root (&state);
|
tree.set_root (&state);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user