From bd04aa007478d6ba92da7459102bf8882f095a6d Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 13 Oct 2018 17:29:37 +0300 Subject: [PATCH] Added more ignored words for opening new split from context menu. --- src/widgets/helper/ChannelView.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index d00859d5a..575d4f359 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -1254,7 +1254,7 @@ void ChannelView::addContextMenuItems( QGuiApplication::clipboard()->setText(copyString); }); - // Join to channel + // Open in new split. if (hoveredElement->getLink().type == Link::Url) { static QRegularExpression twitchChannelRegex( R"(^(?:https?:\/\/)?(?:www\.|go\.)?twitch\.tv\/(?[a-z0-9_]+))", @@ -1262,6 +1262,13 @@ void ChannelView::addContextMenuItems( static QSet ignoredUsernames{ "videos", "settings", + "directory", + "jobs", + "friends", + "inventory", + "payments", + "subscriptions", + "messages", }; auto twitchMatch =