--- a/QTfrontend/ui/dialog/upload_video.cpp Tue Jul 16 11:14:03 2013 +0200
+++ b/QTfrontend/ui/dialog/upload_video.cpp Tue Jul 16 11:14:27 2013 +0200
@@ -291,7 +291,7 @@
QNetworkReply *reply = (QNetworkReply*)sender();
reply->deleteLater();
- location = QString::fromAscii(reply->rawHeader("Location"));
+ location = QString::fromLatin1(reply->rawHeader("Location"));
if (location.isEmpty())
{
QString errorStr = QMessageBox::tr("Error while sending metadata to youtube.com:\n");
--- a/QTfrontend/ui/page/pagevideos.cpp Tue Jul 16 11:14:03 2013 +0200
+++ b/QTfrontend/ui/page/pagevideos.cpp Tue Jul 16 11:14:27 2013 +0200
@@ -845,7 +845,7 @@
for (int i = 0; i < array.size(); i++)
array[i] = array[i] ^ 0xC4 ^ i;
array = array.toBase64();
- return QString::fromAscii(array.data());
+ return QString::fromLatin1(array.data());
}
static QString unprotectPass(QString str)