From 382462f4650ac5bee4ed28898da155477eabf938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Sun, 14 Mar 2021 15:09:16 +0100 Subject: [PATCH] Added avatar context menu to usercard (#2517) --- CHANGELOG.md | 1 + src/widgets/dialogs/UserInfoPopup.cpp | 53 +++++++++++++++++++++++++-- src/widgets/dialogs/UserInfoPopup.hpp | 1 + 3 files changed, 51 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20540f65b..24e9e8a90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ - Minor: Remove EmojiOne 2 and 3 due to license restrictions. (#1555) - Minor: Added `/streamlink` command. Usage: `/streamlink `. You can also use the command without arguments in any twitch channel to open it in streamlink. (#2443, #2495) - Minor: Humanized all numbers visible to end-users. (#2488) +- Minor: Added a context menu to avatar in usercard. It opens on right-clicking the avatar in usercard. (#2517) - Bugfix: Fix crash occurring when pressing Escape in the Color Picker Dialog (#1843) - Bugfix: Fix bug where the "check user follow state" event could trigger a network request requesting the user to follow or unfollow a user. By itself its quite harmless as it just repeats to Twitch the same follow state we had, so no follows should have been lost by this but it meant there was a rogue network request that was fired that could cause a crash (#1906) - Bugfix: /usercard command will now respect the "Automatically close user popup" setting (#1918) diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index 36a716844..2f3f1e301 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -149,10 +149,54 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, QWidget *parent) head.emplace