mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
Don't downgrade tags to Ascii
Use Utf8 everywhere, and toAscii is depricated in Qt5 Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7e9582631d
commit
1c0c516b42
1 changed files with 1 additions and 1 deletions
|
@ -872,7 +872,7 @@ void MainTab::saveTags()
|
||||||
QString tag;
|
QString tag;
|
||||||
taglist_clear(mydive->tag_list);
|
taglist_clear(mydive->tag_list);
|
||||||
foreach (tag, ui.tagWidget->getBlockStringList())
|
foreach (tag, ui.tagWidget->getBlockStringList())
|
||||||
taglist_add_tag(mydive->tag_list, tag.toAscii().data());
|
taglist_add_tag(mydive->tag_list, tag.toUtf8().data());
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue