diff options
| author | Tannin <devnull@localhost> | 2014-03-18 18:29:32 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-03-18 18:29:32 +0100 |
| commit | 8ab1b479438dd929bc953e554629d1bddca61c9e (patch) | |
| tree | c68b07415602041d3f247ec71ad5e966877e8d83 /src/downloadmanager.cpp | |
| parent | 129b76d7d2d90c3a791e101435987993ed8b312a (diff) | |
- bugfix: if resuming a download failed with the server sending a textual error message,
MO tried to display the whole file inside the error message
- bugfix: resuming a download didn't trigger a nexus-login when necessary
- bugfix: integrated fomod installer only used the first block of data inside a description
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 31d8bcec..e747b299 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -1246,7 +1246,7 @@ void DownloadManager::downloadFinished() textData) { if (info->m_Tries == 0) { if (textData && (reply->error() == QNetworkReply::NoError)) { - emit showMessage(tr("Download failed. Server reported: %1").arg(readFileText(info->m_Output.fileName()))); + emit showMessage(tr("Download failed. Server reported: %1").arg(QString(data))); } else { emit showMessage(tr("Download failed: %1 (%2)").arg(reply->errorString()).arg(reply->error())); } |
