diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-07-26 08:58:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-07-26 08:58:59 +0000 |
| commit | 45b203105b980162549fc97106c6353a23571106 (patch) | |
| tree | e81c2e5db07e3643b59e6d653195e40fa34855c1 /src/plugins/Input/flac | |
| parent | 62904593cc27e86a32aa07f43108a160ec52371d (diff) | |
| download | qmmp-45b203105b980162549fc97106c6353a23571106.tar.gz qmmp-45b203105b980162549fc97106c6353a23571106.tar.bz2 qmmp-45b203105b980162549fc97106c6353a23571106.zip | |
removed function DecoderFactory::supports
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6603 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac')
| -rw-r--r-- | src/plugins/Input/flac/decoderflacfactory.cpp | 5 | ||||
| -rw-r--r-- | src/plugins/Input/flac/decoderflacfactory.h | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/Input/flac/decoderflacfactory.cpp b/src/plugins/Input/flac/decoderflacfactory.cpp index 496cb9489..5624fe4ae 100644 --- a/src/plugins/Input/flac/decoderflacfactory.cpp +++ b/src/plugins/Input/flac/decoderflacfactory.cpp @@ -38,11 +38,6 @@ // DecoderFLACFactory -bool DecoderFLACFactory::supports(const QString &source) const -{ - return source.endsWith(".flac", Qt::CaseInsensitive) || source.endsWith(".oga", Qt::CaseInsensitive); -} - bool DecoderFLACFactory::canDecode(QIODevice *input) const { char buf[36]; diff --git a/src/plugins/Input/flac/decoderflacfactory.h b/src/plugins/Input/flac/decoderflacfactory.h index addada2c7..3b22768a2 100644 --- a/src/plugins/Input/flac/decoderflacfactory.h +++ b/src/plugins/Input/flac/decoderflacfactory.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2015 by Ilya Kotov * + * Copyright (C) 2006-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -36,7 +36,6 @@ Q_OBJECT Q_INTERFACES(DecoderFactory) public: - bool supports(const QString &source) const; bool canDecode(QIODevice *input) const; const DecoderProperties properties() const; Decoder *create(const QString &, QIODevice *); |
