summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/gstreamer/volumefadereffect.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-09 09:20:32 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:08 (GMT)
commit5c4ed2858f31d6b3adcf5200c3a64fbf188a3f4d (patch)
tree4a60b2f3cb76eef204803ab80818521959ede939 /src/3rdparty/phonon/gstreamer/volumefadereffect.cpp
parent7a6296197cdab656053fbf1fc2584707e78cbe54 (diff)
downloadQt-5c4ed2858f31d6b3adcf5200c3a64fbf188a3f4d.zip
Qt-5c4ed2858f31d6b3adcf5200c3a64fbf188a3f4d.tar.gz
Qt-5c4ed2858f31d6b3adcf5200c3a64fbf188a3f4d.tar.bz2
Fix QFeature QT_NO_PHONON_VOLUMEFADEREFFECT
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/3rdparty/phonon/gstreamer/volumefadereffect.cpp')
-rw-r--r--src/3rdparty/phonon/gstreamer/volumefadereffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/gstreamer/volumefadereffect.cpp b/src/3rdparty/phonon/gstreamer/volumefadereffect.cpp
index d7ee11b..bf0d646 100644
--- a/src/3rdparty/phonon/gstreamer/volumefadereffect.cpp
+++ b/src/3rdparty/phonon/gstreamer/volumefadereffect.cpp
@@ -21,11 +21,11 @@
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_PHONON_VOLUMEFADEREFFECT
namespace Phonon
{
namespace Gstreamer
{
-
VolumeFaderEffect::VolumeFaderEffect(Backend *backend, QObject *parent)
: Effect(backend, parent, AudioSource | AudioSink)
, m_fadeCurve(Phonon::VolumeFaderEffect::Fade3Decibel)
@@ -156,7 +156,7 @@ bool VolumeFaderEffect::event(QEvent *event)
}
}} //namespace Phonon::Gstreamer
-
+#endif //QT_NO_PHONON_VOLUMEFADEREFFECT
QT_END_NAMESPACE
#include "moc_volumefadereffect.cpp"