diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-13 09:49:43 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-13 09:49:49 (GMT) |
commit | 6e209bb09f3feef210bc65f94cf8f58dd8e3b4a9 (patch) | |
tree | 94da799a697ebf32a98ccc13a53adfb2569f7c16 /src/3rdparty | |
parent | b664d54867139b371e158f1c63076c4a970cbb2a (diff) | |
parent | 4f2dcef95299f2da628b30607021e8deb1d868b6 (diff) | |
download | Qt-6e209bb09f3feef210bc65f94cf8f58dd8e3b4a9.zip Qt-6e209bb09f3feef210bc65f94cf8f58dd8e3b4a9.tar.gz Qt-6e209bb09f3feef210bc65f94cf8f58dd8e3b4a9.tar.bz2 |
Merge oslo-staging-2/4.6 into upstream/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); |