From 2bcb642c273c6ccba2e5da99150609b8f8dc429b Mon Sep 17 00:00:00 2001 From: APTX Date: Thu, 21 Feb 2013 03:10:40 +0100 Subject: [PATCH] toLatin1() does the same thing as toAscii(), the latter got deprecated. --- localmylist/mylistexportparsetask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localmylist/mylistexportparsetask.cpp b/localmylist/mylistexportparsetask.cpp index daf6f70..9b60ee9 100644 --- a/localmylist/mylistexportparsetask.cpp +++ b/localmylist/mylistexportparsetask.cpp @@ -469,7 +469,7 @@ void MyListExportParseTask::readFile() f.anidbUpdate = QDateTime::fromString(readElementText(), dateTimeFormat); } else if (name() == "ed2kHash") { - f.ed2k = readElementText().toAscii(); + f.ed2k = readElementText().toLatin1(); } else if (name() == "Size") { f.size = readElementText().toLongLong(); -- 2.52.0