data: refactored file clearing on reparse to use TaskClearStorage

This commit is contained in:
Eberhard Graether
2015-10-01 13:45:31 +02:00
parent 5b47661a90
commit 8fa9bdde5e
23 changed files with 239 additions and 134 deletions
+2 -2
View File
@@ -109,7 +109,7 @@ void Application::handleMessage(MessageFinishedParsing* message)
m_isInitialParse = false;
Id mainId = m_storageCache->getIdForNodeWithName("main");
Id mainId = m_storageCache->getIdForNodeWithNameHierarchy(NameHierarchy("main"));
if (!mainId)
{
@@ -122,7 +122,7 @@ void Application::handleMessage(MessageFinishedParsing* message)
message.addNode(
mainId,
m_storageCache->getNodeTypeForNodeWithId(mainId),
m_storageCache->getNameForNodeWithId(mainId)
m_storageCache->getNameHierarchyForNodeWithId(mainId)
);
message.isFromSystem = true;
message.dispatch();