Commit 8b6da64a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: be compatible with Qt5

parent bcfbeb1b
......@@ -307,7 +307,7 @@ static QPixmap hueRotate( QImage image, const QColor &source, const QColor &targ
{
int distance = target.hue() - source.hue();
/* must be indexed as we alter palette, not a whole pic */
Q_ASSERT( image.numColors() );
Q_ASSERT( image.colorCount() );
if ( target.isValid() )
{
/* color 1 = transparency */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment