Auto-refresh UserInfoPopup recent messages (#1982)
* Auto-refresh UserInfoPopup recent messages * Update CHANGELOG.md * Clean up code * changed something about the connection Co-authored-by: fourtf <tf.four@gmail.com>
This commit is contained in:
@@ -19,6 +19,7 @@ class UserInfoPopup final : public BaseWindow
|
||||
|
||||
public:
|
||||
UserInfoPopup(bool closeAutomatically);
|
||||
~UserInfoPopup();
|
||||
|
||||
void setData(const QString &name, const ChannelPtr &channel);
|
||||
|
||||
@@ -41,6 +42,9 @@ private:
|
||||
|
||||
pajlada::Signals::NoArgSignal userStateChanged_;
|
||||
|
||||
// replace with ScopedConnection once https://github.com/pajlada/signals/pull/10 gets merged
|
||||
pajlada::Signals::Connection refreshConnection_;
|
||||
|
||||
std::shared_ptr<bool> hack_;
|
||||
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user