Removed unused local vars. Slightly refactored code.

This commit is contained in:
23rd
2019-05-04 20:39:58 +03:00
committed by pajlada
parent 2d21bb0695
commit efec76df5b
10 changed files with 4 additions and 36 deletions
-2
View File
@@ -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())
{