Our current implementation of screenIsMonochrome() checks if a QWidget's QPaintDevice::numColors() is < 2. This is incorrect, for a monochrome device it will be == 2, since you get the number of possible colors, not the number of bits per color value. Also, QPaintDevice::numColors() has been deprecated by QPaintDevice::colorCount()
Created attachment 76655 [details] Proposed patch
Comment on attachment 76655 [details] Proposed patch numcolor is deprecated ok, but why == instead of <? :)
Comment on attachment 76655 [details] Proposed patch Clearing flags on attachment: 76655 Committed r74137: <http://trac.webkit.org/changeset/74137>
All reviewed patches have been landed. Closing bug.