projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19194f0
)
QTBUG-24936: Ensure alpha cache is cleared when printing to PDF.
author
Tarja Sundqvist
<tarja.sundqvist@digia.com>
Wed, 28 Mar 2012 10:32:10 +0000
(13:32 +0300)
committer
Qt by Nokia
<qt-info@nokia.com>
Mon, 2 Apr 2012 12:52:48 +0000
(14:52 +0200)
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>
src/gui/painting/qpdf.cpp
patch
|
blob
|
history
diff --git
a/src/gui/painting/qpdf.cpp
b/src/gui/painting/qpdf.cpp
index
843551d
..
cfa0a28
100644
(file)
--- 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();