chatllm: remove use of deprecated '_qs' (#3130)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-10-22 13:30:26 -04:00
committed by GitHub
parent 6df252bdcd
commit 62f90ff7d5

View File

@@ -198,7 +198,7 @@ bool ChatLLM::loadDefaultModel()
{
ModelInfo defaultModel = ModelList::globalInstance()->defaultModelInfo();
if (defaultModel.filename().isEmpty()) {
emit modelLoadingError(u"Could not find any model to load"_qs);
emit modelLoadingError(u"Could not find any model to load"_s);
return false;
}
return loadModel(defaultModel);