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