equal
deleted
inserted
replaced
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 |