Use "phonon/mediaobject.h"-style includes for Phonon, as the older ones don't work under Debian sid anymore.

If you know how to make this actually work everywhere, please send in a patch.
This commit is contained in:
Konstantin Isakov 2010-03-29 17:13:29 +04:00
parent 6f090bf64f
commit eaebf218eb

View file

@ -15,8 +15,16 @@
#include "wstring_qt.hh"
#include <QBuffer>
// Phonon headers are a mess. How to include them properly? Send patches if you
// know.
#ifdef __WIN32
#include <Phonon/AudioOutput>
#include <Phonon/MediaObject>
#else
#include <phonon/audiooutput.h>
#include <phonon/mediaobject.h>
#endif
using std::map;
using std::list;