From ae309030049098c2e831991b0317214e3b4de598 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 6 Sep 2016 20:05:40 +0900 Subject: More dead code removal --- connection.cpp | 7 ------- connection.h | 1 - 2 files changed, 8 deletions(-) diff --git a/connection.cpp b/connection.cpp index 98ff914a..08f6c241 100644 --- a/connection.cpp +++ b/connection.cpp @@ -224,13 +224,6 @@ void Connection::leaveRoom(Room* room) job->start(); } -//void Connection::getMembers(Room* room) -//{ -// RoomMembersJob* job = new RoomMembersJob(d->data, room); -// connect( job, &RoomMembersJob::result, d, &ConnectionPrivate::gotRoomMembers ); -// job->start(); -//} - RoomMessagesJob* Connection::getMessages(Room* room, QString from) { RoomMessagesJob* job = new RoomMessagesJob(d->data, room, from); diff --git a/connection.h b/connection.h index c221d7eb..d5cf4883 100644 --- a/connection.h +++ b/connection.h @@ -57,7 +57,6 @@ namespace QMatrixClient Q_INVOKABLE virtual PostReceiptJob* postReceipt( Room* room, Event* event ); Q_INVOKABLE virtual void joinRoom( QString roomAlias ); Q_INVOKABLE virtual void leaveRoom( Room* room ); -// Q_INVOKABLE virtual void getMembers( Room* room ); Q_INVOKABLE virtual RoomMessagesJob* getMessages( Room* room, QString from ); virtual MediaThumbnailJob* getThumbnail( QUrl url, int requestedWidth, int requestedHeight ); -- cgit v1.2.3