Fixed variable naming style.

This commit is contained in:
Cranken 2018-09-30 14:31:00 +02:00
parent abb01b54f5
commit f6e6916263
2 changed files with 3 additions and 3 deletions

View file

@ -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 &&

View file

@ -82,7 +82,7 @@ private:
bool mouseDownX_ = false;
HighlightState highlightState_ = HighlightState::None;
bool highlightEnabled = true;
bool highlightEnabled_ = true;
QMenu menu_;