Fixed variable naming style.
This commit is contained in:
@@ -68,7 +68,7 @@ NotebookTab::NotebookTab(Notebook *notebook)
|
|||||||
highlightNewMessagesAction->setChecked(true);
|
highlightNewMessagesAction->setChecked(true);
|
||||||
QObject::connect(
|
QObject::connect(
|
||||||
highlightNewMessagesAction, &QAction::triggered,
|
highlightNewMessagesAction, &QAction::triggered,
|
||||||
[this](bool checked) { this->highlightEnabled = checked; });
|
[this](bool checked) { this->highlightEnabled_ = checked; });
|
||||||
this->menu_.addAction(highlightNewMessagesAction);
|
this->menu_.addAction(highlightNewMessagesAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@ void NotebookTab::setSelected(bool value)
|
|||||||
|
|
||||||
void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
|
void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
|
||||||
{
|
{
|
||||||
if (this->isSelected() || !this->highlightEnabled) {
|
if (this->isSelected() || !this->highlightEnabled_) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this->highlightState_ != HighlightState::Highlighted &&
|
if (this->highlightState_ != HighlightState::Highlighted &&
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ private:
|
|||||||
bool mouseDownX_ = false;
|
bool mouseDownX_ = false;
|
||||||
|
|
||||||
HighlightState highlightState_ = HighlightState::None;
|
HighlightState highlightState_ = HighlightState::None;
|
||||||
bool highlightEnabled = true;
|
bool highlightEnabled_ = true;
|
||||||
|
|
||||||
QMenu menu_;
|
QMenu menu_;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user