Fix table borders in multiline tables when printing to PostScript.
Fix table borders in multiline tables when printing to PostScript.

I'm not all to happy with this fix, but its the best that one can
acheive given the current design. The problem is that QPdfBaseEngine
sets a number of states as part of updateState(), but only when we are
playing back through the alpha engine. These states are used in some
draw functions, also when we are recording in the alpha engine. This
leads to the states and their checks being out of sync. So to follow
the existing pattern in the code we need to not touch d-> vars prior
to a check to usesAlphaEngine.

Reviewed-By: Eskil

RLovelett/qt,RLovelett/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,igor-sfdc/qt-wk,RLovelett/qt,RLovelett/qt,KDE/qt,radekp/qt,radekp/qt,radekp/qt,KDE/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,KDE/qt,KDE/qt,RLovelett/qt,RLovelett/qt,radekp/qt,igor-sfdc/qt-wk,RLovelett/qt,radekp/qt,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,RLovelett/qt,igor-sfdc/qt-wk,KDE/qt,radekp/qt,KDE/qt,KDE/qt,KDE/qt