Commit 76f2d644 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Correcting a bug with uppercase extensions

parent 01f77c91
......@@ -85,7 +85,7 @@ Media::~Media()
void Media::setFileType()
{
QString filter = "*." + m_fileInfo->suffix();
QString filter = "*." + m_fileInfo->suffix().toLower();
if ( Media::VideoExtensions.contains( filter ) )
m_fileType = Media::Video;
else if ( Media::AudioExtensions.contains( filter ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment