mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixed clang format.
This commit is contained in:
parent
839f78e19b
commit
abb01b54f5
|
@ -62,12 +62,13 @@ NotebookTab::NotebookTab(Notebook *notebook)
|
|||
this->menu_.addAction("Close",
|
||||
[=]() { this->notebook_->removePage(this->page); });
|
||||
|
||||
auto highlightNewMessagesAction = new QAction("Enable highlights on new messages", &this->menu_);
|
||||
auto highlightNewMessagesAction =
|
||||
new QAction("Enable highlights on new messages", &this->menu_);
|
||||
highlightNewMessagesAction->setCheckable(true);
|
||||
highlightNewMessagesAction->setChecked(true);
|
||||
QObject::connect(highlightNewMessagesAction, &QAction::triggered, [this] (bool checked) {
|
||||
this->highlightEnabled = checked;
|
||||
});
|
||||
QObject::connect(
|
||||
highlightNewMessagesAction, &QAction::triggered,
|
||||
[this](bool checked) { this->highlightEnabled = checked; });
|
||||
this->menu_.addAction(highlightNewMessagesAction);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue