Commit 8cd2c234 authored by Tobias Hunger's avatar Tobias Hunger

QmlProjectManager: Fix warning about unused lambda capture

Change-Id: I3fd8f89dc3f5f54a7479c7e1d118766fedd66ba7
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent 2f42bc44
......@@ -261,7 +261,7 @@ Project::RestoreResult QmlProject::fromMap(const QVariantMap &map, QString *erro
if (!activeTarget()) {
// find a kit that matches prerequisites (prefer default one)
QList<Kit*> kits = KitManager::kits(
std::function<bool(const Kit *)>([this](const Kit *k) -> bool {
std::function<bool(const Kit *)>([](const Kit *k) -> bool {
if (!k->isValid())
return false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment