Changeset 27244b1


Ignore:
Timestamp:
07/24/14 04:53:45 (74 minutes ago)
Author:
Ken Moore <ken@…>
Branches:
master
Children:
3f98638
Parents:
8b255c8
Message:

Oops, make sure the image filter check is performed case-insensitively in lumina-fm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-fm/MainUI.cpp

    r8a18a7d r27244b1  
    719719    QIcon ico; 
    720720    if(list[i].isDir()){ ico = LXDG::findIcon("folder",""); } 
    721     else if( imgFilter.contains("*."+list[i].suffix()) ){ ico = QIcon(list[i].absoluteFilePath()); } 
     721    else if( imgFilter.contains("*."+list[i].suffix().toLower()) ){ ico = QIcon(list[i].absoluteFilePath()); } 
    722722    else if(list[i].isExecutable()){ ico = LXDG::findIcon("application-x-executable",""); } 
    723723    else{ ico = LXDG::findMimeIcon(list[i].suffix()); } 
Note: See TracChangeset for help on using the changeset viewer.