src/guiutilities.cpp

changeset 1319
39d7a9642eea
parent 1300
609b75b026c4
child 1323
05b3e173c900
equal deleted inserted replaced
1318:568fcfc6da71 1319:39d7a9642eea
99 { 99 {
100 iterator.next(); 100 iterator.next();
101 LDColor color = iterator.key(); 101 LDColor color = iterator.key();
102 int frequency = iterator.value(); 102 int frequency = iterator.value();
103 QIcon icon = makeColorIcon(color, 16); 103 QIcon icon = makeColorIcon(color, 16);
104 box->addItem(icon, format("[%1] %2 (%3 object%4)", color.index(), color.name(), frequency, plural(frequency))); 104 box->addItem(icon, format("[%1] %2 (%3 object(s))", color.index(), color.name(), frequency));
105 box->setItemData(row, color.index()); 105 box->setItemData(row, color.index());
106 ++row; 106 ++row;
107 } 107 }
108 } 108 }
109 109

mercurial