Ticket #10768: settings_profile-v0.26-pre-409-gc51c98a.patch

File settings_profile-v0.26-pre-409-gc51c98a.patch, 1.1 KB (added by ggervasio@…, 13 years ago)

hack for recording profile settings

  • mythtv/libs/libmyth/settings.cpp

    commit 7da1d4ec0de8f5ff73c33af95bbae7a937e488ef
    Author: Gregorio Gervasio, Jr <ggervasio@yahoo.com>
    Date:   Sat May 26 18:07:49 2012 -0700
    
        Hacked to make RecordingProfile codec settings work.
    
    diff --git a/mythtv/libs/libmyth/settings.cpp b/mythtv/libs/libmyth/settings.cpp
    index 6a1a539..f2f49b5 100644
    a b void ComboBoxSetting::setVisible(bool b) 
    705705    }
    706706}
    707707
    708 void ComboBoxSetting::setValue(const QString &newValue)
     708void ComboBoxSetting::setValue(QString newValue)
    709709{
    710710    for (uint i = 0; i < values.size(); i++)
    711711    {
  • mythtv/libs/libmyth/settings.h

    diff --git a/mythtv/libs/libmyth/settings.h b/mythtv/libs/libmyth/settings.h
    index ba7ab2f..8b5df0d 100644
    a b class MPUBLIC ComboBoxSetting: public SelectSetting 
    344344    virtual void setHelpText(const QString &str);
    345345
    346346  public slots:
    347     virtual void setValue(const QString &newValue);
     347    virtual void setValue(QString newValue);
    348348    virtual void setValue(int which);
    349349
    350350    void addSelection(const QString &label,