diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-11-09 02:09:01 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-11-09 02:09:01 +0100 |
commit | 28eebc09fc127557c4895367357020978daaf428 (patch) | |
tree | 6e24c0bb020e65bbd9d437bb1c02feb9d6d0c0c6 /logic/net/PasteUpload.cpp | |
parent | cc19159f4d20c65a1639f89dbe72ec17c3cc1243 (diff) | |
download | MultiMC-28eebc09fc127557c4895367357020978daaf428.tar MultiMC-28eebc09fc127557c4895367357020978daaf428.tar.gz MultiMC-28eebc09fc127557c4895367357020978daaf428.tar.lz MultiMC-28eebc09fc127557c4895367357020978daaf428.tar.xz MultiMC-28eebc09fc127557c4895367357020978daaf428.zip |
Give paste upload a nice status message
Fixes #364
Diffstat (limited to 'logic/net/PasteUpload.cpp')
-rw-r--r-- | logic/net/PasteUpload.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/net/PasteUpload.cpp b/logic/net/PasteUpload.cpp index ccd7dc48..2b953c5c 100644 --- a/logic/net/PasteUpload.cpp +++ b/logic/net/PasteUpload.cpp @@ -24,6 +24,7 @@ void PasteUpload::executeTask() QNetworkReply *rep = worker->post(request, content); m_reply = std::shared_ptr<QNetworkReply>(rep); + setStatus(tr("Uploading to paste.ee")); connect(rep, &QNetworkReply::downloadProgress, [&](qint64 value, qint64 max) { setProgress(value / qMax((qint64)1, max) * 100); }); connect(rep, SIGNAL(error(QNetworkReply::NetworkError)), this, |