aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-12-12 11:34:17 +0100
committerhjk <hjk@qt.io>2023-12-12 10:55:32 +0000
commit016936a45032f2b443c336855c8ebe5b7e0d7e08 (patch)
treefeff371aa38eaf9fa01904b78a2021806c71a959 /src/shared
parent8d2cee31e4ecde69ae2577416d74cefdb891d8e8 (diff)
Clean up some lambdas
Change-Id: Id947c0935b1aa4579e1c64d3e510db41103fbe27 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/help/indexwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/help/indexwindow.cpp b/src/shared/help/indexwindow.cpp
index 36712d8593..3c6a7949e5 100644
--- a/src/shared/help/indexwindow.cpp
+++ b/src/shared/help/indexwindow.cpp
@@ -78,7 +78,7 @@ IndexWindow::IndexWindow()
connect(m_indexWidget, &Utils::NavigationTreeView::activated,
this, [this](const QModelIndex &index) { open(index); });
connect(m_searchLineEdit, &QLineEdit::returnPressed,
- m_indexWidget, [this]() { open(m_indexWidget->currentIndex()); });
+ m_indexWidget, [this] { open(m_indexWidget->currentIndex()); });
layout->addWidget(m_indexWidget);
m_indexWidget->viewport()->installEventFilter(this);