Read the encoded URL correctly for Dropbox files.

This commit is contained in:
John Maguire 2012-11-30 16:12:31 +01:00
parent 90bb00939b
commit d4a82a2d50
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ void DropboxService::FetchContentUrlFinished(
QVariantMap response = parser.parse(reply).toMap();
QFileInfo info(data["path"].toString());
TagReaderClient::ReplyType* tag_reply = app_->tag_reader_client()->ReadCloudFile(
response["url"].toUrl(),
QUrl::fromEncoded(response["url"].toByteArray()),
info.fileName(),
data["bytes"].toInt(),
data["mime_type"].toString(),