Fix signal connection nodiscard warnings (#4818)
This commit is contained in:
@@ -32,6 +32,8 @@ public:
|
||||
|
||||
void updateChannelText();
|
||||
void updateModerationModeIcon();
|
||||
// Invoked when SplitHeader should update anything refering to a TwitchChannel's mode
|
||||
// has changed (e.g. sub mode toggled)
|
||||
void updateRoomModes();
|
||||
|
||||
protected:
|
||||
@@ -75,7 +77,14 @@ private:
|
||||
// ui
|
||||
Button *dropdownButton_{};
|
||||
Label *titleLabel_{};
|
||||
|
||||
EffectLabel *modeButton_{};
|
||||
QAction *modeActionSetEmote{};
|
||||
QAction *modeActionSetSub{};
|
||||
QAction *modeActionSetSlow{};
|
||||
QAction *modeActionSetR9k{};
|
||||
QAction *modeActionSetFollowers{};
|
||||
|
||||
Button *moderationButton_{};
|
||||
Button *viewersButton_{};
|
||||
Button *addButton_{};
|
||||
@@ -86,8 +95,8 @@ private:
|
||||
bool doubleClicked_{false};
|
||||
bool menuVisible_{false};
|
||||
|
||||
// signals
|
||||
pajlada::Signals::NoArgSignal modeUpdateRequested_;
|
||||
// managedConnections_ contains connections for signals that are not managed by us
|
||||
// and don't change when the parent Split changes its underlying channel
|
||||
pajlada::Signals::SignalHolder managedConnections_;
|
||||
pajlada::Signals::SignalHolder channelConnections_;
|
||||
std::vector<boost::signals2::scoped_connection> bSignals_;
|
||||
|
||||
Reference in New Issue
Block a user