Skip to content

Commit

Permalink
Fix compilation of mythmusic for Windows
Browse files Browse the repository at this point in the history
Fixes #10242

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
  • Loading branch information
Lawrence Rust authored and Beirdo committed Jan 7, 2012
1 parent 24a7a1a commit f63a3f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/cddecoder-windows.cpp
Expand Up @@ -106,7 +106,7 @@ void CdDecoder::commitMetadata(Metadata *mdata)

bool CdDecoderFactory::supports(const QString &source) const
{
return (source.right(extension().length()).lower() == extension());
return (source.right(extension().length()).toLower() == extension());
}

const QString &CdDecoderFactory::extension() const
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/decoderhandler.cpp
Expand Up @@ -12,6 +12,7 @@
#include <mythdownloadmanager.h>
#include <mythdirs.h>
#include <mythlogging.h>
#include <compat.h> // For random() on MINGW32

// mythmusic
#include "decoderhandler.h"
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/vorbisencoder.cpp
Expand Up @@ -17,6 +17,7 @@ using namespace std;

// MythTV
#include <mythcontext.h>
#include <compat.h> // For random() on MINGW32

// MythMusic
#include "metadata.h"
Expand Down

0 comments on commit f63a3f5

Please sign in to comment.