forked from qt-creator/qt-creator
BareMetal: Replace name of GDB_PROVIDERS_SETTINGS_ID constant
... with the DEBUG_SERVER_PROVIDERS_SETTINGS_ID name. Reason is that this identifier includes not only the GDB providers, it includes all possible provider types. Change-Id: If545826aaf1606d33d4fec55653cd6e3ba2c5d61 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -34,7 +34,7 @@ const char BareMetalOsType[] = "BareMetalOsType";
|
||||
const char ACTION_ID[] = "BareMetal.Action";
|
||||
const char MENU_ID[] = "BareMetal.Menu";
|
||||
|
||||
const char GDB_PROVIDERS_SETTINGS_ID[] = "EE.BareMetal.GdbServerProvidersOptions";
|
||||
const char DEBUG_SERVER_PROVIDERS_SETTINGS_ID[] = "EE.BareMetal.DebugServerProvidersOptions";
|
||||
|
||||
// Debugger Server Provider Ids
|
||||
const char OPENOCD_PROVIDER_ID[] = "BareMetal.GdbServerProvider.OpenOcd";
|
||||
|
@@ -82,7 +82,7 @@ void DebugServerProviderChooser::setCurrentProviderId(const QString &id)
|
||||
|
||||
void DebugServerProviderChooser::manageButtonClicked()
|
||||
{
|
||||
Core::ICore::showOptionsDialog(Constants::GDB_PROVIDERS_SETTINGS_ID, this);
|
||||
Core::ICore::showOptionsDialog(Constants::DEBUG_SERVER_PROVIDERS_SETTINGS_ID, this);
|
||||
}
|
||||
|
||||
void DebugServerProviderChooser::currentIndexChanged(int index)
|
||||
|
@@ -447,7 +447,7 @@ QModelIndex DebugServerProvidersSettingsWidget::currentIndex() const
|
||||
|
||||
DebugServerProvidersSettingsPage::DebugServerProvidersSettingsPage()
|
||||
{
|
||||
setId(Constants::GDB_PROVIDERS_SETTINGS_ID);
|
||||
setId(Constants::DEBUG_SERVER_PROVIDERS_SETTINGS_ID);
|
||||
setDisplayName(tr("Bare Metal"));
|
||||
setCategory(ProjectExplorer::Constants::DEVICE_SETTINGS_CATEGORY);
|
||||
}
|
||||
|
Reference in New Issue
Block a user