diff options
author | jkobus <jaroslaw.kobus@digia.com> | 2012-09-20 13:44:24 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2012-09-20 14:54:54 +0200 |
commit | a954ffec25277723d1653cf8f63e895c645254c6 (patch) | |
tree | f689b0c04c0bffbeeb4bc1046c86bf834f0e8c49 /src/plugins/texteditor/codestylepool.cpp | |
parent | 5234307cbf606c7195fda2fd44a9daaa561947e5 (diff) | |
download | qt-creator-a954ffec25277723d1653cf8f63e895c645254c6.tar.gz |
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: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/codestylepool.cpp')
-rw-r--r-- | src/plugins/texteditor/codestylepool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/codestylepool.cpp b/src/plugins/texteditor/codestylepool.cpp index 8dfd5a2bcd..9434ef8e26 100644 --- a/src/plugins/texteditor/codestylepool.cpp +++ b/src/plugins/texteditor/codestylepool.cpp @@ -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); } |