diff --git a/CHANGELOG.md b/CHANGELOG.md index 90e7189c4..8aab7db7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Minor: Disable checking for updates on unsupported platforms (#1874) - Minor: User popup will now automatically display messages as they are received - Minor: Changed the English in two rate-limited system messages (#1878) +- Minor: Added image for streamer mode in the user popup icon. - Minor: Added vip and unvip buttons. - Bugfix: Fix bug preventing users from setting the highlight color of the second entry in the "User" highlights tab (#1898) - 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) diff --git a/resources/resources_autogenerated.qrc b/resources/resources_autogenerated.qrc index eacc6fde9..575639ebd 100644 --- a/resources/resources_autogenerated.qrc +++ b/resources/resources_autogenerated.qrc @@ -80,6 +80,7 @@ split/move.png split/right.png split/up.png + streamerMode.png switcher/plus.svg switcher/switch.svg tlds.txt diff --git a/resources/streamerMode.png b/resources/streamerMode.png new file mode 100644 index 000000000..d084ccce9 Binary files /dev/null and b/resources/streamerMode.png differ diff --git a/src/autogenerated/ResourcesAutogen.cpp b/src/autogenerated/ResourcesAutogen.cpp index 1728044f3..0e6cecc71 100644 --- a/src/autogenerated/ResourcesAutogen.cpp +++ b/src/autogenerated/ResourcesAutogen.cpp @@ -41,6 +41,7 @@ Resources2::Resources2() this->split.move = QPixmap(":/split/move.png"); this->split.right = QPixmap(":/split/right.png"); this->split.up = QPixmap(":/split/up.png"); + this->streamerMode = QPixmap(":/streamerMode.png"); this->twitch.admin = QPixmap(":/twitch/admin.png"); this->twitch.automod = QPixmap(":/twitch/automod.png"); this->twitch.broadcaster = QPixmap(":/twitch/broadcaster.png"); diff --git a/src/autogenerated/ResourcesAutogen.hpp b/src/autogenerated/ResourcesAutogen.hpp index 590cc234a..f108be954 100644 --- a/src/autogenerated/ResourcesAutogen.hpp +++ b/src/autogenerated/ResourcesAutogen.hpp @@ -55,6 +55,7 @@ public: QPixmap right; QPixmap up; } split; + QPixmap streamerMode; struct { QPixmap admin; QPixmap automod; diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index f7096c556..3ac37ef23 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -577,7 +577,11 @@ void UserInfoPopup::updateUserData() [] { // failure }); - if (!isInStreamerMode()) + if (isInStreamerMode()) + { + this->ui_.avatarButton->setPixmap(getResources().streamerMode); + } + else { this->loadAvatar(user.profileImageUrl); }