Fixed clang format.

This commit is contained in:
Cranken 2018-09-30 13:44:41 +02:00
parent 839f78e19b
commit abb01b54f5

View file

@ -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);
}