summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/storagesettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/storagesettings.cpp')
-rw-r--r--src/plugins/texteditor/storagesettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/storagesettings.cpp b/src/plugins/texteditor/storagesettings.cpp
index 9554fa6e77..54493f923b 100644
--- a/src/plugins/texteditor/storagesettings.cpp
+++ b/src/plugins/texteditor/storagesettings.cpp
@@ -71,7 +71,7 @@ void StorageSettings::toMap(const QString &prefix, QVariantMap *map) const
map->insert(prefix + QLatin1String(addFinalNewLineKey), m_addFinalNewLine);
map->insert(prefix + QLatin1String(cleanIndentationKey), m_cleanIndentation);
map->insert(prefix + QLatin1String(skipTrailingWhitespaceKey), m_skipTrailingWhitespace);
- map->insert(prefix + QLatin1String(ignoreFileTypesKey), m_ignoreFileTypes.toLatin1().data());
+ map->insert(prefix + QLatin1String(ignoreFileTypesKey), m_ignoreFileTypes.toLatin1());
}
void StorageSettings::fromMap(const QString &prefix, const QVariantMap &map)