diff options
author | Ken Moore <ken@pcbsd.org> | 2014-09-19 08:43:54 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-09-19 08:43:54 -0400 |
commit | 9410c3eab315bf3e3fc60e32ca6e2fec11620dda (patch) | |
tree | 816fabd96c82e793d4735263625e130afe50c1d9 /lumina-fm/MimeIconProvider.h | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-9410c3eab315bf3e3fc60e32ca6e2fec11620dda.tar.gz lumina-9410c3eab315bf3e3fc60e32ca6e2fec11620dda.tar.bz2 lumina-9410c3eab315bf3e3fc60e32ca6e2fec11620dda.zip |
Make the jpg/png suffix check case-insensitive for showing thumbnail previews in lumina-fm.
Diffstat (limited to 'lumina-fm/MimeIconProvider.h')
-rw-r--r-- | lumina-fm/MimeIconProvider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-fm/MimeIconProvider.h b/lumina-fm/MimeIconProvider.h index 7f330820..6bb3dacf 100644 --- a/lumina-fm/MimeIconProvider.h +++ b/lumina-fm/MimeIconProvider.h @@ -27,7 +27,7 @@ public: if(info.isDir()){ return LXDG::findIcon("folder",""); }else if(info.isFile()){ - if(info.suffix()=="png" || info.suffix()=="jpg"){ + if(info.suffix().toLower()=="png" || info.suffix().toLower()=="jpg"){ return QIcon(info.absoluteFilePath()); }else{ return LXDG::findMimeIcon(info.suffix()); |