Bug with transparent fields in png file. Image was little bit less than scene

with paper shadow.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2015-04-19 13:54:42 +03:00
parent 21ef36bb12
commit fc693a94e9

View File

@ -348,7 +348,7 @@ void TableWindow::PngFile(const QString &name, int i) const
painter.setPen(QPen(Qt::black, qApp->toPixel(qApp->widthMainLine()), Qt::SolidLine, Qt::RoundCap, painter.setPen(QPen(Qt::black, qApp->toPixel(qApp->widthMainLine()), Qt::SolidLine, Qt::RoundCap,
Qt::RoundJoin)); Qt::RoundJoin));
painter.setBrush ( QBrush ( Qt::NoBrush ) ); painter.setBrush ( QBrush ( Qt::NoBrush ) );
scenes.at(i)->render(&painter); scenes.at(i)->render(&painter, r, r);
image.save(name); image.save(name);
} }
} }