mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Removed refresh label from usercard (#2514)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
0e99527e8c
commit
1090524dec
2 changed files with 1 additions and 6 deletions
|
@ -30,7 +30,7 @@
|
|||
- Minor: Added an option to only open channels specified in command line with `-c` parameter. You can also use `--help` to display short help message (#1940, #2368)
|
||||
- Minor: Added customizable timeout buttons to the user info popup
|
||||
- Minor: Deprecate loading of "v1" window layouts. If you haven't updated Chatterino in more than 2 years, there's a chance you will lose your window layout.
|
||||
- Minor: User popup will now automatically display messages as they are received
|
||||
- Minor: User popup will now automatically display messages as they are received. (#1982, #2514)
|
||||
- Minor: Changed the English in two rate-limited system messages (#1878)
|
||||
- Minor: Added a setting to disable messages sent to /mentions split from making the tab highlight with the red marker (#1994)
|
||||
- Minor: Added image for streamer mode in the user popup icon.
|
||||
|
|
|
@ -195,8 +195,6 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, QWidget *parent)
|
|||
.assign(&this->ui_.ignoreHighlights);
|
||||
auto usercard = user.emplace<EffectLabel2>(this);
|
||||
usercard->getLabel().setText("Usercard");
|
||||
auto refresh = user.emplace<EffectLabel2>(this);
|
||||
refresh->getLabel().setText("Refresh");
|
||||
auto mod = user.emplace<Button>(this);
|
||||
mod->setPixmap(getResources().buttons.mod);
|
||||
mod->setScaleIndependantSize(30, 30);
|
||||
|
@ -218,9 +216,6 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, QWidget *parent)
|
|||
"/viewercard/" + this->userName_);
|
||||
});
|
||||
|
||||
QObject::connect(refresh.getElement(), &Button::leftClicked, [this] {
|
||||
this->updateLatestMessages();
|
||||
});
|
||||
QObject::connect(mod.getElement(), &Button::leftClicked, [this] {
|
||||
this->channel_->sendMessage("/mod " + this->userName_);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue