Git: Fix compiler warning

Remove unused lambda capture

Change-Id: I623aff7800279d9f9d6088230b76c0f5db59fc2e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Eike Ziller
2022-05-11 11:36:24 +02:00
parent 40d2c283c2
commit 1dd2eea25c

View File

@@ -67,10 +67,9 @@ class GitLogFilterWidget : public QToolBar
public: public:
GitLogFilterWidget(GitEditorWidget *editor) GitLogFilterWidget(GitEditorWidget *editor)
{ {
auto addLineEdit = [this](const QString &placeholder, auto addLineEdit = [](const QString &placeholder,
const QString &tooltip, const QString &tooltip,
GitEditorWidget *editor) GitEditorWidget *editor) {
{
auto lineEdit = new Utils::FancyLineEdit; auto lineEdit = new Utils::FancyLineEdit;
lineEdit->setFiltering(true); lineEdit->setFiltering(true);
lineEdit->setToolTip(tooltip); lineEdit->setToolTip(tooltip);