mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix lint issue
This commit is contained in:
parent
f869ff5ded
commit
22a08ba6a4
1 changed files with 2 additions and 2 deletions
|
@ -615,11 +615,11 @@ TimelineItem::refreshAuthorColor()
|
||||||
qApp->style()->polish(this);
|
qApp->style()->polish(this);
|
||||||
// generate user's unique color.
|
// generate user's unique color.
|
||||||
auto backCol = backgroundColor().name();
|
auto backCol = backgroundColor().name();
|
||||||
userColor = utils::generateContrastingHexColor(userName_->toolTip(), backCol);
|
userColor =
|
||||||
|
utils::generateContrastingHexColor(userName_->toolTip(), backCol);
|
||||||
Cache::insertUserColor(userName_->toolTip(), userColor);
|
Cache::insertUserColor(userName_->toolTip(), userColor);
|
||||||
}
|
}
|
||||||
userName_->setStyleSheet("QLabel { color : " + userColor + "; }");
|
userName_->setStyleSheet("QLabel { color : " + userColor + "; }");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// The username/timestamp is displayed along with the message body.
|
// The username/timestamp is displayed along with the message body.
|
||||||
|
|
Loading…
Reference in a new issue