forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user