From 1c89a4be8a9862df32d9c5d0ecb716a460738ec9 Mon Sep 17 00:00:00 2001
From: Kitsune Ral <Kitsune-Ral@users.sf.net>
Date: Mon, 3 Aug 2020 19:10:10 +0200
Subject: Cleanup

---
 lib/connection.h                     | 6 ++++--
 lib/events/roomcanonicalaliasevent.h | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

(limited to 'lib')

diff --git a/lib/connection.h b/lib/connection.h
index 48ea4f5e..258280a8 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -238,7 +238,8 @@ public:
     /** Get the list of rooms with the specified tag */
     QVector<Room*> roomsWithTag(const QString& tagName) const;
 
-    /** Mark the room as a direct chat with the user
+    /*! \brief Mark the room as a direct chat with the user
+     *
      * This function marks \p room as a direct chat with \p user.
      * Emits the signal synchronously, without waiting to complete
      * synchronisation with the server.
@@ -247,7 +248,8 @@ public:
      */
     void addToDirectChats(const Room* room, User* user);
 
-    /** Unmark the room from direct chats
+    /*! \brief Unmark the room from direct chats
+     *
      * This function removes the room id from direct chats either for
      * a specific \p user or for all users if \p user in nullptr.
      * The room id is used to allow removal of, e.g., ids of forgotten
diff --git a/lib/events/roomcanonicalaliasevent.h b/lib/events/roomcanonicalaliasevent.h
index 5d680de7..fadfece0 100644
--- a/lib/events/roomcanonicalaliasevent.h
+++ b/lib/events/roomcanonicalaliasevent.h
@@ -59,12 +59,14 @@ public:
         : StateEvent(typeId(), obj)
     { }
 
-    explicit RoomCanonicalAliasEvent(const QString& canonicalAlias, const QStringList& altAliases = {})
+    explicit RoomCanonicalAliasEvent(const QString& canonicalAlias,
+                                     const QStringList& altAliases = {})
         : StateEvent(typeId(), matrixTypeId(), QString(),
                 canonicalAlias, altAliases)
     { }
 
-    explicit RoomCanonicalAliasEvent(QString&& canonicalAlias, QStringList&& altAliases = {})
+    explicit RoomCanonicalAliasEvent(QString&& canonicalAlias,
+                                     QStringList&& altAliases = {})
         : StateEvent(typeId(), matrixTypeId(), QString(),
                 std::move(canonicalAlias), std::move(altAliases))
     { }
-- 
cgit v1.2.3