Fix signal connection nodiscard warnings (#4818)
This commit is contained in:
@@ -20,7 +20,9 @@ TwitchAccountManager::TwitchAccountManager()
|
||||
currentUser->loadSeventvUserID();
|
||||
});
|
||||
|
||||
this->accounts.itemRemoved.connect([this](const auto &acc) {
|
||||
// We can safely ignore this signal connection since accounts will always be removed
|
||||
// before TwitchAccountManager
|
||||
std::ignore = this->accounts.itemRemoved.connect([this](const auto &acc) {
|
||||
this->removeUser(acc.item.get());
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user