Bug #869 » 0001-LMP-Win32-Fixes.patch
src/plugins/lmp/cmake/FindTaglib.cmake | ||
---|---|---|
find_path(TAGLIB_INCLUDES
|
||
NAMES
|
||
tag.h
|
||
taglib/tag.h
|
||
PATH_SUFFIXES taglib
|
||
PATHS
|
||
${KDE4_INCLUDE_DIR}
|
src/plugins/lmp/localfileresolver.cpp | ||
---|---|---|
TagLib::FileRef LocalFileResolver::GetFileRef (const QString& file) const
|
||
{
|
||
#ifdef Q_OS_WIN32
|
||
return TagLib::FileRef (file.toStdWString ().c_str ());
|
||
return TagLib::FileRef (reinterpret_cast<const wchar_t*> (file.utf16 ()));
|
||
#else
|
||
return TagLib::FileRef (file.toUtf8 ().constData ());
|
||
#endif
|
src/plugins/lmp/player.cpp | ||
---|---|---|
#include "xmlsettingsmanager.h"
|
||
#include "playlistparsers/playlistfactory.h"
|
||
#if defined(Q_OS_WIN32)
|
||
#ifdef GetObject
|
||
#undef GetObject
|
||
#endif
|
||
#endif
|
||
Q_DECLARE_METATYPE (Phonon::MediaSource);
|
||
Q_DECLARE_METATYPE (QList<Phonon::MediaSource>);
|
||