--- a/src/colors.h Sat Aug 17 11:48:27 2013 +0300 +++ b/src/colors.h Sun Aug 18 15:33:00 2013 +0300 @@ -19,7 +19,7 @@ #ifndef COLORS_H #define COLORS_H -#include <qcolor.h> +#include <QColor> #include "common.h" #define MAX_COLORS 512 @@ -32,7 +32,7 @@ }; void initColors(); -uchar luma (QColor& col); +int luma (QColor& col); // Safely gets a color with the given number or null if no such color. LDColor* getColor (short colnum);