Fix signal connection nodiscard warnings (#4818)
This commit is contained in:
@@ -246,7 +246,9 @@ EmotePopup::EmotePopup(QWidget *parent)
|
||||
MessageElementFlag::Default, MessageElementFlag::AlwaysShow,
|
||||
MessageElementFlag::EmoteImages});
|
||||
view->setEnableScrollingToBottom(false);
|
||||
view->linkClicked.connect(clicked);
|
||||
// We can safely ignore this signal connection since the ChannelView is deleted
|
||||
// either when the notebook is deleted, or when our main layout is deleted.
|
||||
std::ignore = view->linkClicked.connect(clicked);
|
||||
|
||||
if (addToNotebook)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user