From 1c0c516b4296b5c5fb5a0c132f57889fce0a2423 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 15 Jan 2014 09:30:43 +0100 Subject: Don't downgrade tags to Ascii Use Utf8 everywhere, and toAscii is depricated in Qt5 Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index be25ea1b3..9fa94c8d6 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -872,7 +872,7 @@ void MainTab::saveTags() QString tag; taglist_clear(mydive->tag_list); foreach (tag, ui.tagWidget->getBlockStringList()) - taglist_add_tag(mydive->tag_list, tag.toAscii().data()); + taglist_add_tag(mydive->tag_list, tag.toUtf8().data()); ); } -- cgit v1.2.3-70-g09d2