contentstorage/caclient/stub/src/camenuiconutility.cpp
changeset 83 156f692b1687
parent 66 32469d7d46ff
child 112 dbfb5e38438b
equal deleted inserted replaced
80:397d00875918 83:156f692b1687
    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