diff options
Diffstat (limited to 'src/plugins/Input/gme')
| -rw-r--r-- | src/plugins/Input/gme/decodergmefactory.cpp | 11 | ||||
| -rw-r--r-- | src/plugins/Input/gme/decodergmefactory.h | 3 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/plugins/Input/gme/decodergmefactory.cpp b/src/plugins/Input/gme/decodergmefactory.cpp index b33a70c21..6f28f9506 100644 --- a/src/plugins/Input/gme/decodergmefactory.cpp +++ b/src/plugins/Input/gme/decodergmefactory.cpp @@ -29,17 +29,6 @@ // DecoderGmeFactory -bool DecoderGmeFactory::supports(const QString &source) const -{ - foreach(QString filter, properties().filters) - { - QRegExp regexp(filter, Qt::CaseInsensitive, QRegExp::Wildcard); - if (regexp.exactMatch(source)) - return true; - } - return false; -} - bool DecoderGmeFactory::canDecode(QIODevice *) const { return false; diff --git a/src/plugins/Input/gme/decodergmefactory.h b/src/plugins/Input/gme/decodergmefactory.h index ae5b4c8aa..169411e0c 100644 --- a/src/plugins/Input/gme/decodergmefactory.h +++ b/src/plugins/Input/gme/decodergmefactory.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010-2015 by Ilya Kotov * + * Copyright (C) 2010-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -39,7 +39,6 @@ class DecoderGmeFactory : public QObject, DecoderFactory Q_INTERFACES(DecoderFactory) public: - bool supports(const QString &source) const; bool canDecode(QIODevice *input) const; const DecoderProperties properties() const; Decoder *create(const QString &path, QIODevice *input); |
