mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: convert divesite strings to std::string
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3916125786
commit
7d3977481a
38 changed files with 181 additions and 222 deletions
|
|
@ -112,7 +112,7 @@ bool uploadDiveLogsDE::prepareDives(const QString &tempfile, bool selected)
|
|||
|
||||
if (ds) {
|
||||
put_format(&mb, "<divelog><divesites><site uuid='%8x' name='", ds->uuid);
|
||||
put_quoted(&mb, ds->name, 1, 0);
|
||||
put_quoted(&mb, ds->name.c_str(), 1, 0);
|
||||
put_format(&mb, "'");
|
||||
put_location(&mb, &ds->location, " gps='", "'");
|
||||
put_format(&mb, ">\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue