summary refs log tree commit diff
path: root/src/dialogs/RoomSettings.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-01 19:35:28 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-01 19:35:28 +0300
commit763330fd3c259b7a877eb05944783e92c0afcb80 (patch)
treecf6810cba9aded346ecf8c3dbede7ed0e7d8d68f /src/dialogs/RoomSettings.cpp
parentAdd prototype room settings menu (diff)
downloadnheko-763330fd3c259b7a877eb05944783e92c0afcb80.tar.xz
Add member list
Diffstat (limited to 'src/dialogs/RoomSettings.cpp')
-rw-r--r--src/dialogs/RoomSettings.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/dialogs/RoomSettings.cpp b/src/dialogs/RoomSettings.cpp
index 8fcbc82f..b2c87c94 100644
--- a/src/dialogs/RoomSettings.cpp
+++ b/src/dialogs/RoomSettings.cpp
@@ -49,18 +49,20 @@ RoomSettings::RoomSettings(const QString &room_id, QSharedPointer<Cache> cache,
 
         auto notifOptionLayout_ = new QHBoxLayout;
         notifOptionLayout_->setMargin(5);
-        auto themeLabel_ = new QLabel(tr("Notifications"), this);
-        auto notifCombo  = new QComboBox(this);
-        notifCombo->addItem("Nothing");
-        notifCombo->addItem("Mentions only");
-        notifCombo->addItem("All messages");
-        themeLabel_->setStyleSheet("font-size: 15px;");
-
-        notifOptionLayout_->addWidget(themeLabel_);
+        auto notifLabel = new QLabel(tr("Notifications"), this);
+        auto notifCombo = new QComboBox(this);
+        notifCombo->setDisabled(true);
+        notifCombo->addItem(tr("Muted"));
+        notifCombo->addItem(tr("Mentions only"));
+        notifCombo->addItem(tr("All messages"));
+        notifLabel->setStyleSheet("font-size: 15px;");
+
+        notifOptionLayout_->addWidget(notifLabel);
         notifOptionLayout_->addWidget(notifCombo, 0, Qt::AlignBottom | Qt::AlignRight);
 
         layout->addWidget(new TopSection(info_, avatarImg_, this));
         layout->addLayout(notifOptionLayout_);
+        layout->addLayout(notifOptionLayout_);
         layout->addLayout(btnLayout);
 
         connect(cancelBtn_, &FlatButton::clicked, this, &RoomSettings::closing);