contentstorage/caclient/stub/src/camenuiconutility.cpp
changeset 96 5d243a69bdda
parent 92 782e3408c2ab
child 112 dbfb5e38438b
equal deleted inserted replaced
95:c739008478cc 96:5d243a69bdda
    51         icon = HbIcon(filename);
    51         icon = HbIcon(filename);
    52     }
    52     }
    53     if (icon.isNull() || !(icon.size().isValid())) {
    53     if (icon.isNull() || !(icon.size().isValid())) {
    54         icon = HbIcon(QDir(".").absoluteFilePath("resource/application.png"));
    54         icon = HbIcon(QDir(".").absoluteFilePath("resource/application.png"));
    55     }
    55     }
       
    56     if (entry.entryTypeName() == "widget") {
       
    57         icon.addBadge(Qt::AlignBottom | Qt::AlignLeft,
       
    58                     HbIcon("qtg_small_homescreen"));
       
    59     }
    56     return icon;
    60     return icon;
    57 }
    61 }
    58 
    62 
    59 
    63