aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-11 15:24:13 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-19 08:51:30 +0900
commita3150b2050f2669b1e263db7213235e0a317ae31 (patch)
tree76ed5b72a53fd42e783b47dca3d91cde4d3ba7b8 /lib/room.cpp
parentbdd0b841c48b42915087fde8d86e86e01631c627 (diff)
downloadlibquotient-a3150b2050f2669b1e263db7213235e0a317ae31.tar.gz
libquotient-a3150b2050f2669b1e263db7213235e0a317ae31.zip
Improvements in comments
- registerEventType(): comment the cryptic _ variable - Room::postEvent: document the return value - Room::Private: upgrade comments to doc-comments - even though in Private, they still are helpful to show hints in IDEs. - General cleanup
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 2cbc8fc1..632f7fd7 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -157,8 +157,8 @@ class Room::Private
fileTransfers[tid].status = FileTransferInfo::Failed;
emit q->fileTransferFailed(tid, errorMessage);
}
- // A map from event/txn ids to information about the long operation;
- // used for both download and upload operations
+ /// A map from event/txn ids to information about the long operation;
+ /// used for both download and upload operations
QHash<QString, FileTransferPrivateInfo> fileTransfers;
const RoomMessageEvent* getEventWithFile(const QString& eventId) const;