~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/phonon/phonon/effect.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
{
108
108
    if (m_backendObject) {
109
109
        const QList<EffectParameter> parameters = pINTERFACE_CALL(parameters());
110
 
        foreach (const EffectParameter &p, parameters) {
 
110
        for (int i = 0; i < parameters.count(); ++i) {
 
111
            const EffectParameter &p = parameters.at(i);
111
112
            parameterValues[p] = pINTERFACE_CALL(parameterValue(p));
112
113
        }
113
114
    }
120
121
 
121
122
    // set up attributes
122
123
    const QList<EffectParameter> parameters = pINTERFACE_CALL(parameters());
123
 
    foreach (const EffectParameter &p, parameters) {
 
124
    for (int i = 0; i < parameters.count(); ++i) {
 
125
        const EffectParameter &p = parameters.at(i);
124
126
        pINTERFACE_CALL(setParameterValue(p, parameterValues[p]));
125
127
    }
126
128
}