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:
parent
fb39798b3c
commit
84243b096f
|
@ -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,
|
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