mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove unneccesary dereference of the highlightcolor
This commit is contained in:
parent
16042e7f8a
commit
8d9617df96
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ void NotebookTab::paintEvent(QPaintEvent *)
|
|||
if (this->highlightState_ == HighlightState::Highlighted &&
|
||||
this->highlightColor_ != nullptr)
|
||||
{
|
||||
auto col = *this->highlightColor_.get();
|
||||
QColor col = *this->highlightColor_;
|
||||
col.setAlpha(255);
|
||||
colors.line = {col, col, col};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue