Commit a954ffec authored by jkobus's avatar jkobus Committed by Tobias Hunger
Browse files

Fix saving of code style settings



Save the would code style settings structure, not only its part.

Task-number: QTCREATORBUG-7867
Change-Id: I51c90ba372c28d10fb69e17a9845573f9d2d18f9
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 5234307c
......@@ -291,6 +291,6 @@ void CodeStylePool::exportCodeStyle(const Utils::FileName &fileName, ICodeStyleP
tmp.insert(QLatin1String(displayNameKey), codeStyle->displayName());
tmp.insert(QLatin1String(codeStyleDataKey), map);
Utils::PersistentSettingsWriter writer(fileName, QLatin1String(codeStyleDocKey));
writer.save(map, 0);
writer.save(tmp, 0);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment