mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-17 11:10:31 +01:00
PlaylistParser: Check file extension case-insensitive
This commit is contained in:
parent
22edf7a2b3
commit
1bbaee605c
@ -135,7 +135,7 @@ QString PlaylistParser::default_filter() const {
|
||||
ParserBase *PlaylistParser::ParserForExtension(const Type type, const QString &suffix) const {
|
||||
|
||||
for (ParserBase *parser : parsers_) {
|
||||
if (ParserIsSupported(type, parser) && parser->file_extensions().contains(suffix)) {
|
||||
if (ParserIsSupported(type, parser) && parser->file_extensions().contains(suffix, Qt::CaseInsensitive)) {
|
||||
return parser;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user