File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,12 @@ void RemoteProcessSettingsDialog::apply()
107107 data = new Metadata (port);
108108 m_controller->GetData ()->StoreMetadata (" debugger.remote_port" , data);
109109
110- const auto platform = m_pluginEntry->currentText ().toStdString ();
111- if (!platform .empty ())
110+ const auto plugin = m_pluginEntry->currentText ().toStdString ();
111+ if (!plugin .empty ())
112112 {
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);
115116 }
116117
117118 accept ();
You can’t perform that action at this time.
0 commit comments