forked from qt-creator/qt-creator
PathChooser: Remove unused lambda captures
Change-Id: I1f6763f20297e685c62c10195dfe74a5fddaf35a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
86a328f3a4
commit
ccfa32dda2
@@ -630,9 +630,7 @@ FancyLineEdit::AsyncValidationFunction PathChooser::defaultValidationFunction()
|
|||||||
return Utils::asyncRun(
|
return Utils::asyncRun(
|
||||||
[expanded,
|
[expanded,
|
||||||
defVal = d->m_defaultValue,
|
defVal = d->m_defaultValue,
|
||||||
kind = d->m_acceptingKind,
|
kind = d->m_acceptingKind]() -> FancyLineEdit::AsyncValidationResult {
|
||||||
env = d->m_environment,
|
|
||||||
baseDirectory = d->m_baseDirectory]() -> FancyLineEdit::AsyncValidationResult {
|
|
||||||
return validatePath(expanded, defVal, kind);
|
return validatePath(expanded, defVal, kind);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user