summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/gstreamer/backend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon/gstreamer/backend.cpp')
-rw-r--r--src/3rdparty/phonon/gstreamer/backend.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/gstreamer/backend.cpp b/src/3rdparty/phonon/gstreamer/backend.cpp
index cd49454..ceaf94a 100644
--- a/src/3rdparty/phonon/gstreamer/backend.cpp
+++ b/src/3rdparty/phonon/gstreamer/backend.cpp
@@ -134,7 +134,11 @@ QObject *Backend::createObject(BackendInterface::Class c, QObject *parent, const
}
case VolumeFaderEffectClass:
+#ifndef QT_NO_PHONON_VOLUMEFADEREFFECT
return new VolumeFaderEffect(this, parent);
+#else
+ return 0;
+#endif //QT_NO_PHONON_VOLUMEFADEREFFECT
case VisualizationClass: //Fall through
default: