aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-09-30 22:16:29 +0200
committerLinus Jahn <lnj@kaidan.im>2022-09-30 22:16:29 +0200
commit668b6f1ae936103dbd0180567dff7fca3d7dd935 (patch)
tree54248b51b441ad22eeda7e0641bc27374918b74e /src/client
parentb66cf3d8e1482dbddcc5f2e828bf2259cc9bfcab (diff)
downloadqxmpp-668b6f1ae936103dbd0180567dff7fca3d7dd935.tar.gz
FileSharingManager: Fix type in registerProvider
Diffstat (limited to 'src/client')
-rw-r--r--src/client/QXmppFileSharingManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/QXmppFileSharingManager.h b/src/client/QXmppFileSharingManager.h
index a7f4c5dd..96632f3f 100644
--- a/src/client/QXmppFileSharingManager.h
+++ b/src/client/QXmppFileSharingManager.h
@@ -52,9 +52,10 @@ public:
///
/// \brief Register a provider for automatic downloads
/// \param manager A shared_ptr to a QXmppFileSharingProvider subclass
+ /// The provider must define SourceType to the type of the accepted file source.
///
template<typename ProviderType>
- void registerProivder(std::shared_ptr<ProviderType> manager)
+ void registerProvider(std::shared_ptr<ProviderType> manager)
{
std::type_index index(typeid(typename ProviderType::SourceType));
internalRegisterProvider(index, manager);