Commit 89c5c95f authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Ensure we use an UTF-8 encoding for markers

CCBUG: 433615
parent c63acf85
Pipeline #52447 passed with stage
in 10 minutes and 37 seconds
......@@ -500,7 +500,7 @@ QString MarkerListModel::toJson() const
list.push_back(currentMarker);
}
QJsonDocument json(list);
return QString(json.toJson());
return QString::fromUtf8(json.toJson());
}
bool MarkerListModel::removeAllMarkers()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment