]> Some of my projects - localmylist.git/commitdiff
toLatin1() does the same thing as toAscii(), the latter got deprecated.
authorAPTX <marek321@gmail.com>
Thu, 21 Feb 2013 02:10:40 +0000 (03:10 +0100)
committerAPTX <marek321@gmail.com>
Thu, 21 Feb 2013 02:10:40 +0000 (03:10 +0100)
localmylist/mylistexportparsetask.cpp

index daf6f706d9aca31e4c27b1b9ab4971ede8f08dc5..9b60ee90442c8e29c922706eed1bf3df65728292 100644 (file)
@@ -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();