Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #921208 ยป 0017-Ruledit-Fix-req_edit-fill_active-shadow-warning.patch

Marko Lindqvist, 2021-02-28 03:53 PM

View differences:

tools/ruledit/req_edit.cpp
265 265
void req_edit::fill_active()
266 266
{
267 267
  if (selected != nullptr) {
268
    struct uvb_data data;
268
    struct uvb_data udata;
269 269

  
270 270
    edit_type_button->setText(universals_n_name(selected->source.kind));
271
    data.number = edit_value_nbr_field;
272
    data.enum_button = edit_value_enum_button;
273
    data.menu = edit_value_enum_menu;
274
    data.univ = &selected->source;
271
    udata.number = edit_value_nbr_field;
272
    udata.enum_button = edit_value_enum_button;
273
    udata.menu = edit_value_enum_menu;
274
    udata.univ = &selected->source;
275 275
    edit_value_enum_menu->clear();
276 276
    edit_value_enum_button->setVisible(false);
277 277
    edit_value_nbr_field->setVisible(false);
278
    universal_kind_values(&selected->source, universal_value_cb, &data);
278
    universal_kind_values(&selected->source, universal_value_cb, &udata);
279 279
    edit_range_button->setText(req_range_name(selected->range));
280 280
    if (selected->present) {
281 281
      edit_present_button->setText("Allows");
282
- 
    (1-1/1)