aboutsummaryrefslogtreecommitdiff
path: root/jobs/postreceiptjob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-10-31 18:30:31 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-10-31 18:30:31 +0900
commite0a879ef17e3363f64ff51b438eae4c7a2267dc8 (patch)
tree897df38ea776d28153123f2d4f3d498b06b5c68e /jobs/postreceiptjob.cpp
parent8e2113199710b6a2396ddad0f48d9e7ea06f8cc7 (diff)
downloadlibquotient-e0a879ef17e3363f64ff51b438eae4c7a2267dc8.tar.gz
libquotient-e0a879ef17e3363f64ff51b438eae4c7a2267dc8.zip
Code cleanup upon inspection in CLion
These changes are most harmless; a no more used Private class removed, and an incorrect signal specification in connect() fixed. Also, one explicit #include has been added, just in case.
Diffstat (limited to 'jobs/postreceiptjob.cpp')
-rw-r--r--jobs/postreceiptjob.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/jobs/postreceiptjob.cpp b/jobs/postreceiptjob.cpp
index d0c82b4f..1eaefc2a 100644
--- a/jobs/postreceiptjob.cpp
+++ b/jobs/postreceiptjob.cpp
@@ -24,23 +24,10 @@
using namespace QMatrixClient;
-class PostReceiptJob::Private
-{
- public:
- Private() {}
-
- QString roomId;
- QString eventId;
-};
-
PostReceiptJob::PostReceiptJob(ConnectionData* connection, QString roomId, QString eventId)
: BaseJob(connection, JobHttpType::PostJob, "PostReceiptJob",
QString("/_matrix/client/r0/rooms/%1/receipt/m.read/%2").arg(roomId, eventId))
- , d(new Private)
-{
-}
+{ }
PostReceiptJob::~PostReceiptJob()
-{
- delete d;
-}
+{ }