From 62e1550ed842a8a0d4c7b31d788176814a03e814 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 11 Aug 2018 15:02:17 +0900 Subject: Connection: drop extraneous Q_INVOKABLE Slots are Q_INVOKABLE by definition. --- lib/connection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/connection.h') diff --git a/lib/connection.h b/lib/connection.h index 3b747d08..5d817d69 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -383,7 +383,7 @@ namespace QMatrixClient * * \sa directChatAvailable */ - Q_INVOKABLE void requestDirectChat(const QString& userId); + void requestDirectChat(const QString& userId); /** Run an operation in a direct chat with the user * This method may return synchronously or asynchoronously depending @@ -391,7 +391,7 @@ namespace QMatrixClient * already. Instead of emitting a signal it executes the passed * function object with the direct chat room as its parameter. */ - Q_INVOKABLE void doInDirectChat(const QString& userId, + void doInDirectChat(const QString& userId, std::function operation); /** Create a direct chat with a single user, optional name and topic -- cgit v1.2.3