aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/codestylepool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/codestylepool.cpp')
-rw-r--r--src/plugins/texteditor/codestylepool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/codestylepool.cpp b/src/plugins/texteditor/codestylepool.cpp
index 7696fe0623..9523364dfd 100644
--- a/src/plugins/texteditor/codestylepool.cpp
+++ b/src/plugins/texteditor/codestylepool.cpp
@@ -289,6 +289,6 @@ void CodeStylePool::exportCodeStyle(const Utils::FilePath &fileName, ICodeStyleP
tmp.insert(QLatin1String(displayNameKey), codeStyle->displayName());
tmp.insert(QLatin1String(codeStyleDataKey), map);
Utils::PersistentSettingsWriter writer(fileName, QLatin1String(codeStyleDocKey));
- writer.save(tmp, Core::ICore::mainWindow());
+ writer.save(tmp, Core::ICore::dialogParent());
}