some more refactoring

This commit is contained in:
fourtf
2020-02-23 17:45:59 +01:00
parent e1838154ff
commit 4a5dc80bc6
12 changed files with 62 additions and 75 deletions
+2 -2
View File
@@ -343,7 +343,7 @@ void UserInfoPopup::installEvents()
else
{
const auto &vector =
getApp()->highlights->blacklistedUsers.getVector();
getApp()->highlights->blacklistedUsers.raw();
for (int i = 0; i < vector.size(); i++)
{
@@ -456,7 +456,7 @@ void UserInfoPopup::updateUserData()
// get ignoreHighlights state
bool isIgnoringHighlights = false;
const auto &vector = getApp()->highlights->blacklistedUsers.getVector();
const auto &vector = getApp()->highlights->blacklistedUsers.raw();
for (int i = 0; i < vector.size(); i++)
{
if (this->userName_ == vector[i].getPattern())