mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Remove unneccesary dereference of the highlightcolor
This commit is contained in:
parent
16042e7f8a
commit
8d9617df96
|
@ -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