Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
luyikei
VLMC
Commits
76f2d644
Commit
76f2d644
authored
Nov 12, 2009
by
Hugo Beauzee-Luyssen
Browse files
Correcting a bug with uppercase extensions
parent
01f77c91
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Media/Media.cpp
View file @
76f2d644
...
...
@@ -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
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment