mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
properly initialize QSvgPaintEnginePrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2b4e214c76
commit
f1dbfa4960
1 changed files with 4 additions and 8 deletions
|
@ -80,21 +80,17 @@ class QSvgPaintEnginePrivate : public QPaintEnginePrivate
|
|||
{
|
||||
public:
|
||||
QSvgPaintEnginePrivate()
|
||||
: outputDevice(Q_NULLPTR),
|
||||
resolution(72),
|
||||
afterFirstUpdate(false),
|
||||
numGradients(0)
|
||||
{
|
||||
size = QSize();
|
||||
viewBox = QRectF();
|
||||
outputDevice = 0;
|
||||
resolution = 72;
|
||||
|
||||
attributes.document_title = QLatin1String("Katie Svg Document");
|
||||
attributes.document_description = QLatin1String("Generated with Katie");
|
||||
attributes.font_family = QLatin1String("serif");
|
||||
attributes.font_size = QLatin1String("10pt");
|
||||
attributes.font_style = QLatin1String("normal");
|
||||
attributes.font_weight = QLatin1String("normal");
|
||||
|
||||
afterFirstUpdate = false;
|
||||
numGradients = 0;
|
||||
}
|
||||
|
||||
QSize size;
|
||||
|
|
Loading…
Add table
Reference in a new issue