Reinitialize the printer after changing the custom paper size
Task-number: QTBUG-34276 Change-Id: Ie382c39cb7b7b8307fcd1130702ca97e80e4a4f5 Reviewed-by: John Layt <jlayt@kde.org>
This commit is contained in:
parent
1698369924
commit
d9fd2085f9
@ -1453,6 +1453,7 @@ void QWin32PrintEngine::setProperty(PrintEnginePropertyKey key, const QVariant &
|
||||
d->devMode->dmPaperLength = qRound(sizeMM.height() * 10.0);
|
||||
d->devMode->dmPaperWidth = qRound(sizeMM.width() * 10.0);
|
||||
}
|
||||
d->doReinit();
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user