QTfrontend/ui/dialog/upload_video.cpp
changeset 9357 a501f5ec7b34
parent 9080 9b42757d7e71
child 9998 736015b847e3
--- 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");