diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-11-13 09:56:33 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-11-13 09:56:33 (GMT) |
commit | c66dfc7bf1ae04bdcee9675db95a4787ba4ede69 (patch) | |
tree | d4b24286d03e396bdf89bd8d14f021b02b6bbfdb /src/3rdparty | |
parent | 226ce3651265bf68a8058d59277d63fb0df43076 (diff) | |
parent | edede3b20aa6ffdb16c790f7e537f5b8e9c96e68 (diff) | |
download | Qt-c66dfc7bf1ae04bdcee9675db95a4787ba4ede69.zip Qt-c66dfc7bf1ae04bdcee9675db95a4787ba4ede69.tar.gz Qt-c66dfc7bf1ae04bdcee9675db95a4787ba4ede69.tar.bz2 |
Merge commit 'upstream/4.6' into 4.6
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/phonon/effectwidget.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/phonon/effectwidget.cpp b/src/3rdparty/phonon/phonon/effectwidget.cpp index c5963eb..2334d7f 100644 --- a/src/3rdparty/phonon/phonon/effectwidget.cpp +++ b/src/3rdparty/phonon/phonon/effectwidget.cpp @@ -97,8 +97,9 @@ void EffectWidgetPrivate::autogenerateUi() Q_Q(EffectWidget); QVBoxLayout *mainLayout = new QVBoxLayout(q); mainLayout->setMargin(0); - for (int i = 0; i < effect->parameters().count(); ++i) { - const EffectParameter ¶ = effect->parameters().at(i); + const QList<Phonon::EffectParameter> parameters = effect->parameters(); + for (int i = 0; i < parameters.count(); ++i) { + const EffectParameter ¶ = parameters.at(i); QVariant value = effect->parameterValue(para); QHBoxLayout *pLayout = new QHBoxLayout; mainLayout->addLayout(pLayout); |