Merge pull request #2901 from thunder2/fix_missing_premods

Added missing calls to preMods in RsFriendListModel::setDisplayStatus…
This commit is contained in:
csoler 2024-12-27 19:59:09 +01:00 committed by GitHub
commit ca2f8c5bed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,12 +162,14 @@ static QIcon createAvatar(const QPixmap &avatar, const QPixmap &overlay)
void RsFriendListModel::setDisplayStatusString(bool b)
{
preMods();
mDisplayStatusString = b;
postMods();
}
void RsFriendListModel::setDisplayStatusIcon(bool b)
{
preMods();
mDisplayStatusIcon = b;
postMods();
}