13
0

skip username metadata when dumping default cfg

This commit is contained in:
Robin Gareus 2015-06-17 21:07:40 +02:00
parent c41d51e80c
commit b6b2253da1

View File

@ -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);