Skip to content

Commit

Permalink
fix: Add description for deprecated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Palm1r committed Dec 24, 2024
1 parent 30ea89c commit 113d5ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings/ChatAssistantSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ChatAssistantSettings::ChatAssistantSettings()

// API Configuration Settings
apiKey.setSettingsKey(Constants::CA_API_KEY);
apiKey.setLabelText(Tr::tr("API Key:"));
apiKey.setLabelText(Tr::tr("[Deprecated, see Provider Settings]API Key:"));
apiKey.setDisplayStyle(Utils::StringAspect::LineEditDisplay);
apiKey.setPlaceHolderText(Tr::tr("Enter your API key here"));

Expand Down
2 changes: 1 addition & 1 deletion settings/CodeCompletionSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ CodeCompletionSettings::CodeCompletionSettings()

// API Configuration Settings
apiKey.setSettingsKey(Constants::CC_API_KEY);
apiKey.setLabelText(Tr::tr("API Key:"));
apiKey.setLabelText(Tr::tr("[Deprecated, see Provider Settings]API Key:"));
apiKey.setDisplayStyle(Utils::StringAspect::LineEditDisplay);
apiKey.setPlaceHolderText(Tr::tr("Enter your API key here"));

Expand Down

0 comments on commit 113d5ad

Please sign in to comment.