diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-01-15 09:30:43 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-15 15:52:45 +0700 |
commit | 1c0c516b4296b5c5fb5a0c132f57889fce0a2423 (patch) | |
tree | 3898998bfdbad2317ac9aa0303c34c57259aa1fb /qt-ui | |
parent | 7e9582631d97fc35522344eda417c02c25ea12db (diff) | |
download | subsurface-1c0c516b4296b5c5fb5a0c132f57889fce0a2423.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); ); } |