chatllm: fix use of deprecated '_qs'

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel 2024-10-21 15:28:11 -04:00
parent adf7225f1c
commit 25833f4ec3

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);