forked from qt-creator/qt-creator
ProjectExplorer: Introduce new Task::setFile() method
This method can be useful when need to update a task file later, after the task creation. Change-Id: I42419e4c975e8644335a5f33a7bbf9a7c068322f Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -97,7 +97,7 @@ void IarParser::amendFilePath()
|
||||
QString filePath;
|
||||
while (!m_filePathParts.isEmpty())
|
||||
filePath.append(m_filePathParts.takeFirst().trimmed());
|
||||
m_lastTask.file = Utils::FileName::fromUserInput(filePath);
|
||||
m_lastTask.setFile(Utils::FileName::fromUserInput(filePath));
|
||||
m_expectFilePath = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user