@@ -271,7 +271,7 @@ USDAssetResolverSettingsWidget::USDAssetResolverSettingsWidget(QWidget* parent)
271271 // Add a browse action to the mapping file path line edit
272272 QAction* browseAction
273273 = new QAction (host.icon (ApplicationHost::IconName::OpenFile), tr (" Browse..." ), this );
274- connect (&host, &ApplicationHost::iconsChanged, this , [this , browseAction]() {
274+ connect (&host, &ApplicationHost::iconsChanged, this , [browseAction]() {
275275 browseAction->setIcon (
276276 ApplicationHost::instance ().icon (ApplicationHost::IconName::OpenFile));
277277 });
@@ -363,7 +363,7 @@ USDAssetResolverSettingsWidget::USDAssetResolverSettingsWidget(QWidget* parent)
363363 listview->itemDelegate (),
364364 &QAbstractItemDelegate::closeEditor,
365365 this ,
366- [this , d ](QWidget* editor, QAbstractItemDelegate::EndEditHint hint) {
366+ [this ](QWidget* editor, QAbstractItemDelegate::EndEditHint hint) {
367367 Q_D (USDAssetResolverSettingsWidget);
368368 if (d->currentlyAddingNewUserPath .isValid ()) {
369369 QModelIndex index = d->currentlyAddingNewUserPath ;
@@ -382,7 +382,7 @@ USDAssetResolverSettingsWidget::USDAssetResolverSettingsWidget(QWidget* parent)
382382 auto addBrowseButton = new QToolButton (d->userPathsHeader );
383383 addBrowseButton->setIcon (host.icon (ApplicationHost::IconName::OpenFile));
384384 addBrowseButton->setToolTip (tr (" Add User Path with the browser" ));
385- connect (addBrowseButton, &QToolButton::clicked, this , [this , listview ]() {
385+ connect (addBrowseButton, &QToolButton::clicked, this , [this ]() {
386386 Q_D (USDAssetResolverSettingsWidget);
387387 QString filePath
388388 = QFileDialog::getExistingDirectory (this , tr (" Select User Path to Add" ));
0 commit comments