PDA

View Full Version : Doubt In QColor::colorNames()



vinodpaul
24th July 2012, 06:44
Hi all I have a doubt in colorNames();. The function returns a QStringList with 148 colors and grey colors repeating again.

'darkgray,darkslategray,dimgray,gray,lightgray,lig htslategray,slategray' have double entry as 'darkgrey,darkslategrey,dimgrey,grey,lightgrey,lig htslategrey,slategrey'.

Is this a bug or they intentionally added like this.

wysota
24th July 2012, 07:21
It's intentional.