forked from qt-creator/qt-creator
TextEditor: use Utils::FilePath as file member in AssistInterface
Change-Id: I3bf9b013b9350411f918efdb9d1a36a2c22bf972 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1308,10 +1308,10 @@ void Client::rehighlight()
|
||||
}
|
||||
}
|
||||
|
||||
bool Client::documentUpdatePostponed(const QString &fileName) const
|
||||
bool Client::documentUpdatePostponed(const Utils::FilePath &fileName) const
|
||||
{
|
||||
return Utils::contains(m_documentsToUpdate.keys(), [fileName](const TextEditor::TextDocument *doc) {
|
||||
return doc->filePath() == Utils::FilePath::fromString(fileName);
|
||||
return doc->filePath() == fileName;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user