From 40c1857c90a1ce66d864968c741f76aef1566487 Mon Sep 17 00:00:00 2001 From: fourtf Date: Mon, 16 Sep 2019 11:44:03 +0200 Subject: [PATCH] added additional dropdown for moderation mode --- src/widgets/splits/SplitHeader.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp index 5d3a642f4..55802be5d 100644 --- a/src/widgets/splits/SplitHeader.cpp +++ b/src/widgets/splits/SplitHeader.cpp @@ -294,6 +294,10 @@ std::unique_ptr SplitHeader::createMainMenu() // sub menu auto moreMenu = new QMenu("More", this); + moreMenu->addAction("Toggle moderation mode", this->split_, [this]() { + this->split_->setModerationMode(!this->split_->getModerationMode()); + }); + moreMenu->addAction("Show viewer list", this->split_, &Split::showViewerList);