Project

General

Profile

Bug #869 » 0001-LMP-Win32-Fixes.patch

DJm00n, 10/18/2012 08:00 PM

View differences:

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>);
(1-1/13)