forked from qt-creator/qt-creator
Core: Use FilePath to track document entries
Change-Id: Iba11a412067215109a1be4579620ebf80c8c2da1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -599,6 +599,13 @@ QString DocumentManager::filePathKey(const QString &filePath, ResolveMode resolv
|
||||
return s;
|
||||
}
|
||||
|
||||
FilePath DocumentManager::filePathKey(const Utils::FilePath &filePath, ResolveMode resolveMode)
|
||||
{
|
||||
if (resolveMode == ResolveLinks)
|
||||
return filePath.canonicalPath().absoluteFilePath();
|
||||
return filePath.absoluteFilePath();
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the list of IDocuments that have been modified.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user