QmlDesigner: Compile fix

Amends a393bcec38.

Change-Id: I00868a0de43d86b435f64e97725a0a66bd01266e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2021-10-27 06:05:35 +02:00
parent 296b9b700d
commit 405daf4f51

View File

@@ -482,7 +482,7 @@ void SubComponentManager::update(const QUrl &filePath, const QList<Import> &impo
if (!m_filePath.isEmpty()) { if (!m_filePath.isEmpty()) {
const QString file = m_filePath.toLocalFile(); const QString file = m_filePath.toLocalFile();
oldDir = QFileInfo(QFileInfo(file).path()); oldDir = QFileInfo(QFileInfo(file).path());
m_filePathDir = {}; m_filePathDir = QDir();
} }
if (!filePath.isEmpty()) { if (!filePath.isEmpty()) {
const QString file = filePath.toLocalFile(); const QString file = filePath.toLocalFile();