summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorredsky17 <joedonofry@gmail.com>2019-01-26 06:09:51 +0000
committerredsky17 <joedonofry@gmail.com>2019-01-26 06:09:51 +0000
commit22a08ba6a4e5559e7a7f2503281be35391c410ff (patch)
tree4d631a33dcc2b092eb44066024ac486c1bd88591 /src
parentFix inconsistent user color updates. (diff)
downloadnheko-22a08ba6a4e5559e7a7f2503281be35391c410ff.tar.xz
Fix lint issue
Diffstat (limited to 'src')
-rw-r--r--src/timeline/TimelineItem.cpp4
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.