forked from qt-creator/qt-creator
Utils: One more stringFromKey to keep Qt 6.4 happy
Change-Id: I67f47be369fa60e2f11f20e0ded389962e059ba6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -459,7 +459,8 @@ bool PersistentSettingsWriter::write(const Store &data, QString *errorString) co
|
||||
const Store::const_iterator cend = data.constEnd();
|
||||
for (Store::const_iterator it = data.constBegin(); it != cend; ++it) {
|
||||
w.writeStartElement(ctx.dataElement);
|
||||
w.writeTextElement(ctx.variableElement, it.key());
|
||||
// FIXME: stringFromKey() not needed from Qt 6.5 onward.
|
||||
w.writeTextElement(ctx.variableElement, stringFromKey(it.key()));
|
||||
writeVariantValue(w, ctx, it.value());
|
||||
w.writeEndElement();
|
||||
}
|
||||
|
Reference in New Issue
Block a user