summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-11-13 09:56:33 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-11-13 09:56:33 (GMT)
commitc66dfc7bf1ae04bdcee9675db95a4787ba4ede69 (patch)
treed4b24286d03e396bdf89bd8d14f021b02b6bbfdb /src/3rdparty
parent226ce3651265bf68a8058d59277d63fb0df43076 (diff)
parentedede3b20aa6ffdb16c790f7e537f5b8e9c96e68 (diff)
downloadQt-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.cpp5
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 &para = effect->parameters().at(i);
+ const QList<Phonon::EffectParameter> parameters = effect->parameters();
+ for (int i = 0; i < parameters.count(); ++i) {
+ const EffectParameter &para = parameters.at(i);
QVariant value = effect->parameterValue(para);
QHBoxLayout *pLayout = new QHBoxLayout;
mainLayout->addLayout(pLayout);