File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,12 @@ void RemoteProcessSettingsDialog::apply()
107
107
data = new Metadata (port);
108
108
m_controller->GetData ()->StoreMetadata (" debugger.remote_port" , data);
109
109
110
- const auto platform = m_pluginEntry->currentText ().toStdString ();
111
- if (!platform .empty ())
110
+ const auto plugin = m_pluginEntry->currentText ().toStdString ();
111
+ if (!plugin .empty ())
112
112
{
113
- m_controller->SetAdapterProperty (" current_process_plugin" , new Metadata (platform));
114
- m_controller->GetData ()->StoreMetadata (" debugger.process_plugin" , new Metadata (platform));
113
+ Ref<Metadata> pluginMetadata = new Metadata (plugin);
114
+ m_controller->SetAdapterProperty (" current_process_plugin" , pluginMetadata);
115
+ m_controller->GetData ()->StoreMetadata (" debugger.process_plugin" , pluginMetadata);
115
116
}
116
117
117
118
accept ();
You can’t perform that action at this time.
0 commit comments