diff options
author | Tarja Sundqvist <tarja.sundqvist@digia.com> | 2012-03-28 13:32:10 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-02 14:52:48 +0200 |
commit | 8129f45e65e5bb1193b0abfc67d8130f3b1563c4 (patch) | |
tree | b06f4a05622e9de74d4b93e3d7c8f04fb83f9c93 /src/gui/painting/qpdf.cpp | |
parent | 19194f02fdaadb800630be240abd044d3668fc10 (diff) |
QTBUG-24936: Ensure alpha cache is cleared when printing to PDF.
Added 'd->alphaCache.clear();' to qtbase/src/gui/painting/qpdf.cpp since
also the alpha cache needs to cleared when printing to PDF.
Task-number: QTBUG-24936
Change-Id: I12c41a98f4bd54c154fa47acebe0421e9a38a3ec
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/painting/qpdf.cpp')
-rw-r--r-- | src/gui/painting/qpdf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpdf.cpp b/src/gui/painting/qpdf.cpp index 843551d51f..cfa0a28fda 100644 --- a/src/gui/painting/qpdf.cpp +++ b/src/gui/painting/qpdf.cpp @@ -1524,6 +1524,7 @@ bool QPdfEngine::begin(QPaintDevice *pdev) d->pages.clear(); d->imageCache.clear(); + d->alphaCache.clear(); setActive(true); d->writeHeader(); |