added additional dropdown for moderation mode

This commit is contained in:
fourtf 2019-09-16 11:44:03 +02:00
parent 3a9f9fa17b
commit 40c1857c90

View file

@ -294,6 +294,10 @@ std::unique_ptr<QMenu> 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);