fix: Remove unusing variables from settings

This commit is contained in:
Petr Mironychev
2025-12-01 13:05:50 +01:00
parent 7a97d0aba5
commit 406ba05bfb
6 changed files with 51 additions and 54 deletions

View File

@ -362,7 +362,7 @@ LLMCore::ContextData QuickRefactorHandler::prepareContext(
"\n- Preserve the original code structure when possible"
"\n- Only change what is necessary to fulfill the user's request";
if (Settings::codeCompletionSettings().useOpenFilesInQuickRefactor()) {
if (Settings::quickRefactorSettings().useOpenFilesInQuickRefactor()) {
systemPrompt += "\n\n" + m_contextManager.openedFilesContext({documentInfo.filePath});
}