summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-12-08 14:44:31 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-01-08 17:12:23 (GMT)
commit7d3cdcb63c4030926ef5224d7e986de6d67da31b (patch)
treea614768aae95fe5a6df1e44ed10eb013af3a0190 /src
parenta3e6a04448979aaa6ada7aa434de3137f6cf0563 (diff)
downloadQt-7d3cdcb63c4030926ef5224d7e986de6d67da31b.zip
Qt-7d3cdcb63c4030926ef5224d7e986de6d67da31b.tar.gz
Qt-7d3cdcb63c4030926ef5224d7e986de6d67da31b.tar.bz2
Fixed typo in Phonon::EffectWidget implementation
Task-number: QTBUG-4659 Reviewed-by: trustme
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/phonon/phonon/effectwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/phonon/effectwidget.cpp b/src/3rdparty/phonon/phonon/effectwidget.cpp
index 2334d7f..b39299a 100644
--- a/src/3rdparty/phonon/phonon/effectwidget.cpp
+++ b/src/3rdparty/phonon/phonon/effectwidget.cpp
@@ -151,7 +151,7 @@ void EffectWidgetPrivate::autogenerateUi()
bool minValueOk = false;
bool maxValueOk = false;
const int minValue = para.minimumValue().toInt(&minValueOk);
- const int maxValue = para.minimumValue().toInt(&maxValueOk);
+ const int maxValue = para.maximumValue().toInt(&maxValueOk);
sb->setRange(minValueOk ? minValue : DEFAULT_MIN_INT, maxValueOk ? maxValue : DEFAULT_MAX_INT);
sb->setValue(value.toInt());