From e06057c4699fd439529aa91f3b36e40df7a8c05b Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 2 Oct 2022 21:07:49 +0200 Subject: FileUpload/Download: Use result() getter instead of signal parameter The signal parameter does not work with immediately finishing uploads/downloads (i.e. when an error happened while starting). The user can't handle the result in that case. --- src/base/QXmppFileShare.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/base') diff --git a/src/base/QXmppFileShare.h b/src/base/QXmppFileShare.h index b8506836..7763a3a5 100644 --- a/src/base/QXmppFileShare.h +++ b/src/base/QXmppFileShare.h @@ -49,6 +49,7 @@ public: protected: friend class QXmppFileSharingManager; + friend class QXmppFileUpload; // Private, internally used API: void visitSources(std::function &&visitor) const; -- cgit v1.2.3