diff options
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/General/converter/converter.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/General/rgscan/rgscanner.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/Input/cue/cueparser.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Input/cue/decoder_cue.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/Input/flac/cueparser.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Input/wavpack/cueparser.cpp | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp index 702a0aae2..cf6f8947e 100644 --- a/src/plugins/General/converter/converter.cpp +++ b/src/plugins/General/converter/converter.cpp @@ -82,7 +82,7 @@ bool Converter::prepare(const QString &url, int row, const QVariantMap &preset) DecoderFactory *factory = 0; if(!source->url().contains("://")) - factory = Decoder::findByPath(source->url()); + factory = Decoder::findByFilePath(source->url()); if(!factory) factory = Decoder::findByMime(source->contentType()); if(!factory && source->ioDevice() && source->url().contains("://")) //ignore content of local files diff --git a/src/plugins/General/rgscan/rgscanner.cpp b/src/plugins/General/rgscan/rgscanner.cpp index 2c50c9fd7..7d1c085a8 100644 --- a/src/plugins/General/rgscan/rgscanner.cpp +++ b/src/plugins/General/rgscan/rgscanner.cpp @@ -74,7 +74,7 @@ bool RGScanner::prepare(const QString &url) return false; } - DecoderFactory *factory = Decoder::findByPath(source->url()); + DecoderFactory *factory = Decoder::findByFilePath(source->url()); if(!factory) { diff --git a/src/plugins/Input/cue/cueparser.cpp b/src/plugins/Input/cue/cueparser.cpp index 7383e4111..893d0627f 100644 --- a/src/plugins/Input/cue/cueparser.cpp +++ b/src/plugins/Input/cue/cueparser.cpp @@ -307,7 +307,7 @@ qint64 CUEParser::getLength(const QString &str) QString CUEParser::getDirtyPath(const QString &cue_path, const QString &path) { - if((QFile::exists(path) && Decoder::findByPath(path)) || !m_dirty) + if((QFile::exists(path) && Decoder::findByFilePath(path)) || !m_dirty) return path; QStringList candidates; @@ -316,7 +316,7 @@ QString CUEParser::getDirtyPath(const QString &cue_path, const QString &path) { it.next(); QString f = it.filePath(); - if ((f != cue_path) && Decoder::findByPath(f)) + if ((f != cue_path) && Decoder::findByFilePath(f)) candidates.push_back(f); } diff --git a/src/plugins/Input/cue/decoder_cue.cpp b/src/plugins/Input/cue/decoder_cue.cpp index 141317fb4..29853ea2a 100644 --- a/src/plugins/Input/cue/decoder_cue.cpp +++ b/src/plugins/Input/cue/decoder_cue.cpp @@ -71,7 +71,7 @@ bool DecoderCUE::initialize() qWarning("DecoderCUE: file \"%s\" doesn't exist", qPrintable(m_path)); return false; } - DecoderFactory *df = Decoder::findByPath(m_path); + DecoderFactory *df = Decoder::findByFilePath(m_path); if (!df) { qWarning("DecoderCUE: unsupported file format"); diff --git a/src/plugins/Input/flac/cueparser.cpp b/src/plugins/Input/flac/cueparser.cpp index 8933a4ff9..4736d6326 100644 --- a/src/plugins/Input/flac/cueparser.cpp +++ b/src/plugins/Input/flac/cueparser.cpp @@ -216,7 +216,7 @@ qint64 CUEParser::getLength(const QString &str) QString CUEParser::getDirtyPath(const QString &cue, const QString &path) { - if (Decoder::findByPath(path) || ! m_dirty) + if (Decoder::findByFilePath(path) || ! m_dirty) return path; QStringList candidates; @@ -225,7 +225,7 @@ QString CUEParser::getDirtyPath(const QString &cue, const QString &path) { it.next(); QString f = it.filePath(); - if ((f != cue) && Decoder::findByPath(f)) + if ((f != cue) && Decoder::findByFilePath(f)) candidates.push_back(f); } diff --git a/src/plugins/Input/wavpack/cueparser.cpp b/src/plugins/Input/wavpack/cueparser.cpp index a8a176eb4..0554370c6 100644 --- a/src/plugins/Input/wavpack/cueparser.cpp +++ b/src/plugins/Input/wavpack/cueparser.cpp @@ -216,7 +216,7 @@ qint64 CUEParser::getLength(const QString &str) QString CUEParser::getDirtyPath(const QString &cue, const QString &path) { - if (Decoder::findByPath(path) || ! m_dirty) + if (Decoder::findByFilePath(path) || ! m_dirty) return path; QStringList candidates; @@ -225,7 +225,7 @@ QString CUEParser::getDirtyPath(const QString &cue, const QString &path) { it.next(); QString f = it.filePath(); - if ((f != cue) && Decoder::findByPath(f)) + if ((f != cue) && Decoder::findByFilePath(f)) candidates.push_back(f); } |
