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

with paper shadow.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-04-19 13:54:42 +03:00
parent fb39798b3c
commit 84243b096f

View File

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