Ticket #2123: fix_for_broken_recording_profiles.diff

File fix_for_broken_recording_profiles.diff, 497 bytes (added by skamithi, 17 years ago)

while working on pip stuff, i noticed [11509] broke recording profiles. i'm not fluent with how the settings.cpp works, but the attached fix resolved the issue for me. problem was that mythtv was returning profile ID 0 (therefore asked to create a new profile) regardless of which recording profile I chose.

  • libs/libmyth/settings.cpp

     
    562562    }
    563563    else
    564564    {
     565        settingValue = newValue;
    565566        current = found;
    566567        isSet   = true;
    567568    }
     
    601602            return ret;
    602603    }
    603604
    604     return 0;
     605    return -1;
    605606}
    606607
    607608QWidget* LabelSetting::configWidget(ConfigurationGroup *cg, QWidget* parent,