summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/storagesettings.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-01-03 08:52:01 +0100
committerhjk <hjk@qt.io>2023-01-03 11:18:58 +0000
commit4e89092251bb5c956ac622c14dc8cbd29c68fc3a (patch)
treef11af32dcae4e97694cc11a5faf60e47f7fd05c0 /src/plugins/texteditor/storagesettings.cpp
parent5d675ff53343aed139e70ad00bb3c15b7a7dbf0c (diff)
downloadqt-creator-6.0.tar.gz
More compile fix with recent Qt 66.0
Mostly by backporting Creator master hunks. It still compiles with Qt 5.15. Change-Id: I14d2e33c3ca2368cb848748d5f5b41aa47801f72 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
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)