summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-14 11:26:10 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-14 11:26:10 +0530
commitb5e351ab025fe751cd230371714cdee24125bfc4 (patch)
tree461fad975d6465966b437e779502948766727f30 /src
parentMerge branch 'master' into room_settings_qml (diff)
downloadnheko-b5e351ab025fe751cd230371714cdee24125bfc4.tar.xz
Replace rowlayouts with gridlayout and fix room settings initializer list
Diffstat (limited to 'src')
-rw-r--r--src/ui/RoomSettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/RoomSettings.cpp b/src/ui/RoomSettings.cpp
index b166332c..aa6f60a0 100644
--- a/src/ui/RoomSettings.cpp
+++ b/src/ui/RoomSettings.cpp
@@ -165,8 +165,8 @@ EditModal::setFields(const QString &roomName, const QString &roomTopic)
 }
 
 RoomSettings::RoomSettings(QString roomid, QObject *parent)
-  : roomid_{std::move(roomid)}
-  , QObject(parent)
+  : QObject(parent)
+  , roomid_{std::move(roomid)}
 {
         retrieveRoomInfo();