Removed unused local vars. Slightly refactored code.
This commit is contained in:
@@ -240,8 +240,6 @@ void Emojis::sortEmojis()
|
||||
|
||||
void Emojis::loadEmojiSet()
|
||||
{
|
||||
auto app = getApp();
|
||||
|
||||
getSettings()->emojiSet.connect([=](const auto &emojiSet) {
|
||||
this->emojis.each([=](const auto &name,
|
||||
std::shared_ptr<EmojiData> &emoji) {
|
||||
|
||||
@@ -172,8 +172,6 @@ bool TwitchAccountManager::isLoggedIn() const
|
||||
|
||||
bool TwitchAccountManager::removeUser(TwitchAccount *account)
|
||||
{
|
||||
const auto &accs = this->accounts.getVector();
|
||||
|
||||
auto userID(account->getUserId());
|
||||
if (!userID.isEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user