Commit b4bd636d authored by Simon Eugster's avatar Simon Eugster
Browse files

Fixed: setPixel at 255 out of range.

svn path=/trunk/kdenlive/; revision=4631
parent b1e10c28
......@@ -113,7 +113,7 @@ QImage LevelsGenerator::calculateLevels(const QSize &paradeSize, const QImage &i
QImage LevelsGenerator::drawComponent(const int *y, const QSize &size, const float &scaling, const QColor &color, const bool &unscaled) const
{
QImage component(255, size.height(), QImage::Format_ARGB32);
QImage component(256, size.height(), QImage::Format_ARGB32);
component.fill(qRgba(0, 0, 0, 0));
const int partH = size.height();
......
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