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:
Anton Lundin 2014-01-15 09:30:43 +01:00 committed by Dirk Hohndel
parent 7e9582631d
commit 1c0c516b42

View file

@ -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());
); );
} }