352 LDColor color = entry.color(); |
352 LDColor color = entry.color(); |
353 |
353 |
354 if (color.isValid()) |
354 if (color.isValid()) |
355 { |
355 { |
356 item->setText (color.name()); |
356 item->setText (color.name()); |
357 item->setIcon (guiUtilities()->makeColorIcon (color, 16)); |
357 item->setIcon (makeColorIcon (color, 16)); |
358 } |
358 } |
359 else |
359 else |
360 { |
360 { |
361 item->setText ("[[unknown color]]"); |
361 item->setText ("[[unknown color]]"); |
362 item->setIcon (MainWindow::getIcon ("error")); |
362 item->setIcon (MainWindow::getIcon ("error")); |