forked from qt-creator/qt-creator
QmlDesigner: Fix spelling
Change-Id: I7e4407fbedf924e3cb84cb9b35bf7ba018106602 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -666,7 +666,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa
|
|||||||
const DirectoryPathIds &subdirectoriesToIgnore,
|
const DirectoryPathIds &subdirectoriesToIgnore,
|
||||||
Storage::Synchronization::SynchronizationPackage &package,
|
Storage::Synchronization::SynchronizationPackage &package,
|
||||||
NotUpdatedSourceIds ¬UpdatedSourceIds,
|
NotUpdatedSourceIds ¬UpdatedSourceIds,
|
||||||
WatchedSourceIds &WatchedSourceIds,
|
WatchedSourceIds &watchedSourceIds,
|
||||||
IsInsideProject isInsideProject)
|
IsInsideProject isInsideProject)
|
||||||
{
|
{
|
||||||
NanotraceHR::Tracer tracer{"update directory", category(), keyValue("directory", directoryPath)};
|
NanotraceHR::Tracer tracer{"update directory", category(), keyValue("directory", directoryPath)};
|
||||||
@@ -677,11 +677,11 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa
|
|||||||
|
|
||||||
auto directoryState = fileState(directoryId, package, notUpdatedSourceIds);
|
auto directoryState = fileState(directoryId, package, notUpdatedSourceIds);
|
||||||
if (isExisting(directoryState))
|
if (isExisting(directoryState))
|
||||||
WatchedSourceIds.directoryIds.push_back(SourceId::create(directoryId, FileNameId{}));
|
watchedSourceIds.directoryIds.push_back(SourceId::create(directoryId, FileNameId{}));
|
||||||
|
|
||||||
auto qmldirState = fileState(qmldirSourceId, package, notUpdatedSourceIds);
|
auto qmldirState = fileState(qmldirSourceId, package, notUpdatedSourceIds);
|
||||||
if (isExisting(qmldirState))
|
if (isExisting(qmldirState))
|
||||||
WatchedSourceIds.qmldirSourceIds.push_back(qmldirSourceId);
|
watchedSourceIds.qmldirSourceIds.push_back(qmldirSourceId);
|
||||||
|
|
||||||
SourcePath annotationDirectoryPath{directoryPath + "/designer"};
|
SourcePath annotationDirectoryPath{directoryPath + "/designer"};
|
||||||
auto annotationDirectoryId = m_pathCache.directoryPathId(annotationDirectoryPath);
|
auto annotationDirectoryId = m_pathCache.directoryPathId(annotationDirectoryPath);
|
||||||
@@ -702,7 +702,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa
|
|||||||
annotationDirectoryId,
|
annotationDirectoryId,
|
||||||
package,
|
package,
|
||||||
notUpdatedSourceIds,
|
notUpdatedSourceIds,
|
||||||
WatchedSourceIds,
|
watchedSourceIds,
|
||||||
isInsideProject,
|
isInsideProject,
|
||||||
tracer);
|
tracer);
|
||||||
break;
|
break;
|
||||||
@@ -712,7 +712,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa
|
|||||||
parseDirectoryInfos(m_projectStorage.fetchDirectoryInfos(directoryId),
|
parseDirectoryInfos(m_projectStorage.fetchDirectoryInfos(directoryId),
|
||||||
package,
|
package,
|
||||||
notUpdatedSourceIds,
|
notUpdatedSourceIds,
|
||||||
WatchedSourceIds,
|
watchedSourceIds,
|
||||||
isInsideProject);
|
isInsideProject);
|
||||||
break;
|
break;
|
||||||
case FileState::Removed: {
|
case FileState::Removed: {
|
||||||
@@ -741,7 +741,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa
|
|||||||
subdirectoriesToIgnore,
|
subdirectoriesToIgnore,
|
||||||
package,
|
package,
|
||||||
notUpdatedSourceIds,
|
notUpdatedSourceIds,
|
||||||
WatchedSourceIds,
|
watchedSourceIds,
|
||||||
isInsideProject);
|
isInsideProject);
|
||||||
|
|
||||||
tracer.end(keyValue("qmldir source path", qmldirPath),
|
tracer.end(keyValue("qmldir source path", qmldirPath),
|
||||||
|
Reference in New Issue
Block a user