Todo: non-alien dir separators in To-Do entries list

Use Utils::FileName instead of QString in TodoItem

Change-Id: I3c35599f972f0c23087f86ef10c9363a1577ce35
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2015-12-12 14:10:23 +01:00
parent f1e14468c6
commit 05fbef78ad
5 changed files with 8 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ void TodoItemsScanner::processCommentLine(const QString &fileName, const QString
for (int i = 0; i < newItemList.count(); ++i) {
newItemList[i].line = lineNumber;
newItemList[i].file = fileName;
newItemList[i].file = Utils::FileName::fromString(fileName);
}
outItemList << newItemList;