From 78c50399b8675a8bb5561a328bcc8a4752d06637 Mon Sep 17 00:00:00 2001 From: alazymeme Date: Sun, 1 Nov 2020 02:10:11 +1000 Subject: [PATCH] Add wiki link to moderation mode page (#2141) Co-authored-by: Rasmus Karlsson --- src/widgets/settingspages/ModerationPage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/settingspages/ModerationPage.cpp b/src/widgets/settingspages/ModerationPage.cpp index 60b7deaf0..90b8dffe1 100644 --- a/src/widgets/settingspages/ModerationPage.cpp +++ b/src/widgets/settingspages/ModerationPage.cpp @@ -156,7 +156,9 @@ ModerationPage::ModerationPage() auto label = modMode.emplace( "Moderation mode is enabled by clicking in a channel that you moderate.

" "Moderation buttons can be bound to chat commands such as \"/ban {user}\", \"/timeout {user} 1000\", \"/w someusername !report {user} was bad in channel {channel}\" or any other custom text commands.
" - "For deleting messages use /delete {msg-id}."); + "For deleting messages use /delete {msg-id}.

" + "More information can be found here."); + label->setOpenExternalLinks(true); label->setWordWrap(true); label->setStyleSheet("color: #bbb"); // clang-format on