From 28eebc09fc127557c4895367357020978daaf428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 9 Nov 2014 02:09:01 +0100 Subject: Give paste upload a nice status message Fixes #364 --- logic/net/PasteUpload.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'logic/net') 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(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, -- cgit v1.2.3