equal
deleted
inserted
replaced
31 { |
31 { |
32 HbIcon icon; |
32 HbIcon icon; |
33 QString filename(entry.iconDescription().filename()); |
33 QString filename(entry.iconDescription().filename()); |
34 if (!filename.isEmpty()) { |
34 if (!filename.isEmpty()) { |
35 icon = HbIcon(filename); |
35 icon = HbIcon(filename); |
|
36 //icon.addBadge( Qt::AlignTop | Qt::AlignRight, HbIcon("qtg_small_hs_widget")); |
36 } |
37 } |
37 if (icon.isNull() || !(icon.size().isValid())) { |
38 if (icon.isNull() || !(icon.size().isValid())) { |
38 icon = HbIcon(QDir(".").absoluteFilePath("resource/application.png")); |
39 icon = HbIcon("qtg_large_application"); |
39 } |
40 } |
40 return icon; |
41 return icon; |
41 } |
42 } |
42 |
43 |
43 |
44 |