mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Added image to streamermode user popup (#1995)
* Added image to streamermode user popup * Update CHANGELOG.md * swapparoo Co-authored-by: fourtf <tf.four@gmail.com>
This commit is contained in:
parent
b4ef4fe54d
commit
3450b1cc9d
6 changed files with 9 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
<file>split/move.png</file>
|
||||
<file>split/right.png</file>
|
||||
<file>split/up.png</file>
|
||||
<file>streamerMode.png</file>
|
||||
<file>switcher/plus.svg</file>
|
||||
<file>switcher/switch.svg</file>
|
||||
<file>tlds.txt</file>
|
||||
|
|
BIN
resources/streamerMode.png
Normal file
BIN
resources/streamerMode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
|
@ -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");
|
||||
|
|
|
@ -55,6 +55,7 @@ public:
|
|||
QPixmap right;
|
||||
QPixmap up;
|
||||
} split;
|
||||
QPixmap streamerMode;
|
||||
struct {
|
||||
QPixmap admin;
|
||||
QPixmap automod;
|
||||
|
|
|
@ -577,7 +577,11 @@ void UserInfoPopup::updateUserData()
|
|||
[] {
|
||||
// failure
|
||||
});
|
||||
if (!isInStreamerMode())
|
||||
if (isInStreamerMode())
|
||||
{
|
||||
this->ui_.avatarButton->setPixmap(getResources().streamerMode);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->loadAvatar(user.profileImageUrl);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue