From b871f6d3557c20fc7d1456e5080c33ea90795c84 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 2 Oct 2022 02:45:09 +0200 Subject: Generate QXmppUpload/Download only by FileSharingManager Previously all the providers had to subclass the QXmppUpload/Download. It should be much easier to do additional tasks (e.g. hashing after downloading) now because the manager (and not the provider) decides when to emit the finished signal. Making the encrypted source provider able to handle arbitrary unencrypted sources should be possible too. --- src/client/QXmppUpload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/QXmppUpload.cpp') diff --git a/src/client/QXmppUpload.cpp b/src/client/QXmppUpload.cpp index e7b876e5..cd4a19e4 100644 --- a/src/client/QXmppUpload.cpp +++ b/src/client/QXmppUpload.cpp @@ -37,7 +37,7 @@ /// \typedef QXmppUpload::Result /// /// \brief Contains FileResult (successfully finished), QXmpp::Cancelled (manually cancelled) -/// or QXmppError (an error occured while downloading). +/// or QXmppError (an error occured while uploading). /// /// -- cgit v1.2.3