diff options
author | redsky17 <joedonofry@gmail.com> | 2019-01-26 06:09:51 +0000 |
---|---|---|
committer | redsky17 <joedonofry@gmail.com> | 2019-01-26 06:09:51 +0000 |
commit | 22a08ba6a4e5559e7a7f2503281be35391c410ff (patch) | |
tree | 4d631a33dcc2b092eb44066024ac486c1bd88591 /src | |
parent | Fix inconsistent user color updates. (diff) | |
download | nheko-22a08ba6a4e5559e7a7f2503281be35391c410ff.tar.xz |
Fix lint issue
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/TimelineItem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. |