Fix signal connection nodiscard warnings (#4818)
This commit is contained in:
@@ -191,8 +191,7 @@ public:
|
||||
const std::unordered_map<QString, std::weak_ptr<MessageThread>> &threads()
|
||||
const;
|
||||
|
||||
// Signals
|
||||
pajlada::Signals::NoArgSignal roomIdChanged;
|
||||
// Only TwitchChannel may invoke this signal
|
||||
pajlada::Signals::NoArgSignal userStateChanged;
|
||||
|
||||
/**
|
||||
@@ -242,8 +241,6 @@ private:
|
||||
QString actualDisplayName;
|
||||
} nameOptions;
|
||||
|
||||
private:
|
||||
// Methods
|
||||
void refreshPubSub();
|
||||
void refreshChatters();
|
||||
void refreshBadges();
|
||||
@@ -252,6 +249,11 @@ private:
|
||||
void loadRecentMessagesReconnect();
|
||||
void cleanUpReplyThreads();
|
||||
void showLoginMessage();
|
||||
|
||||
/// roomIdChanged is called whenever this channel's ID has been changed
|
||||
/// This should only happen once per channel, whenever the ID goes from unset to set
|
||||
void roomIdChanged();
|
||||
|
||||
/** Joins (subscribes to) a Twitch channel for updates on BTTV. */
|
||||
void joinBttvChannel() const;
|
||||
/**
|
||||
@@ -335,6 +337,8 @@ private:
|
||||
std::unordered_map<QString, std::weak_ptr<MessageThread>> threads_;
|
||||
|
||||
protected:
|
||||
void messageRemovedFromStart(const MessagePtr &msg) override;
|
||||
|
||||
Atomic<std::shared_ptr<const EmoteMap>> bttvEmotes_;
|
||||
Atomic<std::shared_ptr<const EmoteMap>> ffzEmotes_;
|
||||
Atomic<std::shared_ptr<const EmoteMap>> seventvEmotes_;
|
||||
|
||||
Reference in New Issue
Block a user