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:
parent
21ef36bb12
commit
fc693a94e9
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user