diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-18 06:33:49 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-18 06:33:49 +0000 |
| commit | d854da17a4b40a96793454a3aea25949ae9aacf1 (patch) | |
| tree | 4fcb8240f31daa41bf15a00d732c881906827ee1 /src/plugins/Input | |
| parent | 7236148c9da87ed1b76f66bcbba550dde6ec2497 (diff) | |
| download | qmmp-d854da17a4b40a96793454a3aea25949ae9aacf1.tar.gz qmmp-d854da17a4b40a96793454a3aea25949ae9aacf1.tar.bz2 qmmp-d854da17a4b40a96793454a3aea25949ae9aacf1.zip | |
fixed clang warnings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4582 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input')
| -rw-r--r-- | src/plugins/Input/cue/decoder_cue.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/Input/cue/decoder_cue.h | 6 | ||||
| -rw-r--r-- | src/plugins/Input/flac/decoder_flac.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/Input/flac/decoder_flac.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/Input/cue/decoder_cue.cpp b/src/plugins/Input/cue/decoder_cue.cpp index a1819fb6b..cfc7696e0 100644 --- a/src/plugins/Input/cue/decoder_cue.cpp +++ b/src/plugins/Input/cue/decoder_cue.cpp @@ -173,7 +173,7 @@ int DecoderCUE::bitrate() return m_decoder->bitrate(); } -const QString DecoderCUE::nextURL() +const QString DecoderCUE::nextURL() const { if(m_track +1 <= m_parser->count() && m_parser->filePath(m_track) == m_parser->filePath(m_track + 1)) return m_parser->trackURL(m_track + 1); diff --git a/src/plugins/Input/cue/decoder_cue.h b/src/plugins/Input/cue/decoder_cue.h index 34096b05f..75ff17052 100644 --- a/src/plugins/Input/cue/decoder_cue.h +++ b/src/plugins/Input/cue/decoder_cue.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008 by Ilya Kotov * + * Copyright (C) 2008-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -40,10 +40,10 @@ public: void seek(qint64); qint64 read(char *data, qint64 size); int bitrate(); - const QString nextURL(); + const QString nextURL() const; void next(); -private: +private: Decoder *m_decoder; qint64 m_length; qint64 m_offset; diff --git a/src/plugins/Input/flac/decoder_flac.cpp b/src/plugins/Input/flac/decoder_flac.cpp index 68627a6c0..cd665b8b7 100644 --- a/src/plugins/Input/flac/decoder_flac.cpp +++ b/src/plugins/Input/flac/decoder_flac.cpp @@ -527,7 +527,7 @@ void DecoderFLAC::deinit() m_parser = 0; } -const QString DecoderFLAC::nextURL() +const QString DecoderFLAC::nextURL() const { if(m_parser && m_track +1 <= m_parser->count()) return m_parser->trackURL(m_track + 1); diff --git a/src/plugins/Input/flac/decoder_flac.h b/src/plugins/Input/flac/decoder_flac.h index 4b4a2f668..215d2d7e3 100644 --- a/src/plugins/Input/flac/decoder_flac.h +++ b/src/plugins/Input/flac/decoder_flac.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2008 by Ilya Kotov * + * Copyright (C) 2006-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -69,7 +69,7 @@ public: int bitrate(); qint64 read(char *data, qint64 maxSize); void seek(qint64 time); - const QString nextURL(); + const QString nextURL() const; void next(); struct flac_data *data() |
