aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input')
-rw-r--r--src/plugins/Input/cue/cueparser.cpp4
-rw-r--r--src/plugins/Input/cue/decoder_cue.cpp2
-rw-r--r--src/plugins/Input/flac/cueparser.cpp4
-rw-r--r--src/plugins/Input/wavpack/cueparser.cpp4
4 files changed, 7 insertions, 7 deletions
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);
}