Commit 906e2312 authored by Tobias Hunger's avatar Tobias Hunger

QtSupport: Fix warnings about unused lambda captures

Change-Id: I445c616c03da701d2f0c9480191bef7812b9943f
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 69a2feea
......@@ -337,7 +337,7 @@ void QtOptionsPageWidget::toolChainsUpdated()
void QtOptionsPageWidget::qtVersionsDumpUpdated(const FileName &qmakeCommand)
{
m_model->forItemsAtLevel<2>([this, qmakeCommand](QtVersionItem *item) {
m_model->forItemsAtLevel<2>([qmakeCommand](QtVersionItem *item) {
if (item->version()->qmakeCommand() == qmakeCommand)
item->version()->recheckDumper();
});
......@@ -769,7 +769,7 @@ void QtOptionsPageWidget::apply()
QList<BaseQtVersion *> versions;
m_model->forItemsAtLevel<2>([this, &versions](QtVersionItem *item) {
m_model->forItemsAtLevel<2>([&versions](QtVersionItem *item) {
item->setChanged(false);
versions.append(item->version()->clone());
});
......
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