Replace more used of PathChooser::pathChanged by filePathChanged

Change-Id: I0f92be6fcfd0a5319ad9f5d3681266966e40705e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2022-06-29 17:21:30 +02:00
parent 5a75da8d1a
commit 7cc06b85d0
11 changed files with 19 additions and 19 deletions

View File

@@ -89,7 +89,8 @@ WebAssemblyOptionsWidget::WebAssemblyOptionsWidget()
m_emSdkPathChooser->setExpectedKind(PathChooser::Directory);
m_emSdkPathChooser->setInitialBrowsePathBackup(FileUtils::homePath());
m_emSdkPathChooser->setFilePath(WebAssemblyEmSdk::registeredEmSdk());
connect(m_emSdkPathChooser, &PathChooser::pathChanged, [this](){ updateStatus(); });
connect(m_emSdkPathChooser, &PathChooser::filePathChanged,
this, &WebAssemblyOptionsWidget::updateStatus);
layout->addWidget(m_emSdkPathChooser);
m_emSdkVersionDisplay = new InfoLabel(this);
m_emSdkVersionDisplay->setElideMode(Qt::ElideNone);