forked from qt-creator/qt-creator
QmlDesigner: Compile fix
Amends a393bcec38
.
Change-Id: I00868a0de43d86b435f64e97725a0a66bd01266e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -482,7 +482,7 @@ void SubComponentManager::update(const QUrl &filePath, const QList<Import> &impo
|
||||
if (!m_filePath.isEmpty()) {
|
||||
const QString file = m_filePath.toLocalFile();
|
||||
oldDir = QFileInfo(QFileInfo(file).path());
|
||||
m_filePathDir = {};
|
||||
m_filePathDir = QDir();
|
||||
}
|
||||
if (!filePath.isEmpty()) {
|
||||
const QString file = filePath.toLocalFile();
|
||||
|
Reference in New Issue
Block a user