diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-10-02 21:07:49 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-10-02 23:01:13 +0200 |
| commit | e06057c4699fd439529aa91f3b36e40df7a8c05b (patch) | |
| tree | 7bf853479ae26ea07c8cf53f96546d98cf129b1d /src/base | |
| parent | 2fe061ae4a5485201ecc79b163a2a3771d8f5be4 (diff) | |
| download | qxmpp-e06057c4699fd439529aa91f3b36e40df7a8c05b.tar.gz | |
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.
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/QXmppFileShare.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<bool(const std::any &)> &&visitor) const; |
