forked from qt-creator/qt-creator
Replace some PathChooser::setFile with setFilePath
Change-Id: I9a135e27d97b6706ea199b60a0b0b28838c77dcc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -72,7 +72,7 @@ void ExtPropertiesMView::visitMPackage(const qmt::MPackage *package)
|
||||
}
|
||||
if (!m_configPath->hasFocus()) {
|
||||
if (project->configPath().isEmpty()) {
|
||||
m_configPath->setPath(QString());
|
||||
m_configPath->setFilePath({});
|
||||
} else {
|
||||
// make path absolute (may be relative to current project's directory)
|
||||
QDir projectDir = QFileInfo(project->fileName()).absoluteDir();
|
||||
|
||||
Reference in New Issue
Block a user