mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fixed variable naming style.
This commit is contained in:
parent
abb01b54f5
commit
f6e6916263
2 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ NotebookTab::NotebookTab(Notebook *notebook)
|
|||
highlightNewMessagesAction->setChecked(true);
|
||||
QObject::connect(
|
||||
highlightNewMessagesAction, &QAction::triggered,
|
||||
[this](bool checked) { this->highlightEnabled = checked; });
|
||||
[this](bool checked) { this->highlightEnabled_ = checked; });
|
||||
this->menu_.addAction(highlightNewMessagesAction);
|
||||
}
|
||||
|
||||
|
@ -170,7 +170,7 @@ void NotebookTab::setSelected(bool value)
|
|||
|
||||
void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
|
||||
{
|
||||
if (this->isSelected() || !this->highlightEnabled) {
|
||||
if (this->isSelected() || !this->highlightEnabled_) {
|
||||
return;
|
||||
}
|
||||
if (this->highlightState_ != HighlightState::Highlighted &&
|
||||
|
|
|
@ -82,7 +82,7 @@ private:
|
|||
bool mouseDownX_ = false;
|
||||
|
||||
HighlightState highlightState_ = HighlightState::None;
|
||||
bool highlightEnabled = true;
|
||||
bool highlightEnabled_ = true;
|
||||
|
||||
QMenu menu_;
|
||||
|
||||
|
|
Loading…
Reference in a new issue