Fixed bug in QPdfEngine::addImage causing mono images to be made 32 bit
authorMatthew Cattell <matthew.cattell@nokia.com>
Mon, 2 May 2011 09:26:05 +0000 (11:26 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:53 +0000 (12:54 +0200)
commitc500291e42ea3f0237418b629d4a0bf9c0f23ff8
tree4b22566a70db33a5c831562c7b3658e7edb3a244
parent42452a32bfea29bf8176d19442f6e3c890c2b7e2
Fixed bug in QPdfEngine::addImage causing mono images to be made 32 bit

Regression from 4.5 causing performance and size degradation.

Task-number: QTBUG-18997
Reviewed-by: Samuel
(cherry picked from commit 18122b473ecbd85ba953f70743b1756358bf7c0c)
src/gui/painting/qprintengine_pdf.cpp