Removed refresh label from usercard (#2514)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
+1
-1
@@ -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 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: 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: 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: 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 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.
|
- 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);
|
.assign(&this->ui_.ignoreHighlights);
|
||||||
auto usercard = user.emplace<EffectLabel2>(this);
|
auto usercard = user.emplace<EffectLabel2>(this);
|
||||||
usercard->getLabel().setText("Usercard");
|
usercard->getLabel().setText("Usercard");
|
||||||
auto refresh = user.emplace<EffectLabel2>(this);
|
|
||||||
refresh->getLabel().setText("Refresh");
|
|
||||||
auto mod = user.emplace<Button>(this);
|
auto mod = user.emplace<Button>(this);
|
||||||
mod->setPixmap(getResources().buttons.mod);
|
mod->setPixmap(getResources().buttons.mod);
|
||||||
mod->setScaleIndependantSize(30, 30);
|
mod->setScaleIndependantSize(30, 30);
|
||||||
@@ -218,9 +216,6 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, QWidget *parent)
|
|||||||
"/viewercard/" + this->userName_);
|
"/viewercard/" + this->userName_);
|
||||||
});
|
});
|
||||||
|
|
||||||
QObject::connect(refresh.getElement(), &Button::leftClicked, [this] {
|
|
||||||
this->updateLatestMessages();
|
|
||||||
});
|
|
||||||
QObject::connect(mod.getElement(), &Button::leftClicked, [this] {
|
QObject::connect(mod.getElement(), &Button::leftClicked, [this] {
|
||||||
this->channel_->sendMessage("/mod " + this->userName_);
|
this->channel_->sendMessage("/mod " + this->userName_);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user