chore: Replace deprecated FilePath::toString() with toFSPathString() (#116)

This solves a number of deprecation warnings during build.
FilePath::toFSPathString() has been available since couple of years ago.
This commit is contained in:
Povilas Kanapickas
2025-03-08 17:08:33 +02:00
committed by GitHub
parent 6c323642e4
commit 7c483f89cd
4 changed files with 15 additions and 13 deletions

View File

@ -81,7 +81,7 @@ ProgrammingLanguage ContextManager::getDocumentLanguage(const QJsonObject &reque
filePath);
if (!textDocument) {
LOG_MESSAGE("Error: Document is not available for" + filePath.toString());
LOG_MESSAGE("Error: Document is not available for" + filePath.toFSPathString());
return Context::ProgrammingLanguage::Unknown;
}