diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-25 20:11:42 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 20:55:32 (GMT) |
commit | 0f49bba82a62546bb53d0a29a05a560fe8f1e293 (patch) | |
tree | 3ba62398ffc569d55827ef48c4cc439cd92d3c31 /src/3rdparty | |
parent | 1dffae94302099f1e6d1eb5835e46239f7b8f2a5 (diff) | |
download | Qt-0f49bba82a62546bb53d0a29a05a560fe8f1e293.zip Qt-0f49bba82a62546bb53d0a29a05a560fe8f1e293.tar.gz Qt-0f49bba82a62546bb53d0a29a05a560fe8f1e293.tar.bz2 |
Phonon: Fix "value not in enum" warning with GCC 4.5.
QMetaType::Float is not a member of QVariant::Type.
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/phonon/effectwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/phonon/effectwidget.cpp b/src/3rdparty/phonon/phonon/effectwidget.cpp index a2fe50f..edcbe1f 100644 --- a/src/3rdparty/phonon/phonon/effectwidget.cpp +++ b/src/3rdparty/phonon/phonon/effectwidget.cpp @@ -112,7 +112,7 @@ void EffectWidgetPrivate::autogenerateUi() #endif QWidget *control = 0; - switch (para.type()) { + switch (int(para.type())) { case QVariant::String: { QComboBox *cb = new QComboBox(q); |