diff --git a/src/timeline/TimelineItem.cpp b/src/timeline/TimelineItem.cpp index 8e92b168..a0a1759e 100644 --- a/src/timeline/TimelineItem.cpp +++ b/src/timeline/TimelineItem.cpp @@ -615,11 +615,11 @@ TimelineItem::refreshAuthorColor() qApp->style()->polish(this); // generate user's unique color. auto backCol = backgroundColor().name(); - userColor = utils::generateContrastingHexColor(userName_->toolTip(), backCol); + userColor = + utils::generateContrastingHexColor(userName_->toolTip(), backCol); Cache::insertUserColor(userName_->toolTip(), userColor); } userName_->setStyleSheet("QLabel { color : " + userColor + "; }"); - } } // The username/timestamp is displayed along with the message body.