Edwin Leuven wrote:
Abdelrazak Younes wrote:
+    // But Qt doc just say use bits...
+    unsigned int * const data = (unsigned int *)img.bits();

kde has this instead:

unsigned int *data = img.depth() > 8 ? (unsigned int *)img.bits() :
          (unsigned int *)img.colorTable();

Good. Could you patch it please? (and remove the FIXME)

Thanks in advance,
Abdel.

Reply via email to