mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: consistently use toUtf8() instead of toLocal8Bit()
These do the same, since the text-codex is set to UTF-8 on startup. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d1572a8d95
commit
2105d3c7d0
5 changed files with 8 additions and 8 deletions
|
@ -305,7 +305,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button)
|
|||
memset(&gps_location_table, 0, sizeof(dive_table));
|
||||
(void)changed;
|
||||
clear_table(&gps_location_table);
|
||||
QByteArray url = tr("Webservice").toLocal8Bit();
|
||||
QByteArray url = tr("Webservice").toUtf8();
|
||||
parse_xml_buffer(url.data(), downloadedData.data(), downloadedData.length(), &gps_location_table, NULL);
|
||||
// make sure we mark all the dive sites that were created
|
||||
for (i = 0; i < gps_location_table.nr; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue