SVN commit 628925 by toma: Disable jscript, java, metarefresh and plugins for the printing khtmlpart, error spotted by David Faure. M +4 -0 messageview.cpp --- trunk/playground/pim/mailody/src/messageview.cpp #628924:628925 @@ -131,6 +131,10 @@ QSimpleRichText msgheaders(msgheadersdata, QFont("times",9)); KHTMLPart* newPart = new KHTMLPart(this); + newPart->setJScriptEnabled(false); + newPart->setJavaEnabled(false); + newPart->setMetaRefreshEnabled(false); + newPart->setPluginsEnabled(false); newPart->setOnlyLocalReferences(!m_body->externalImage()); m_body->fixedfont() ? newPart->setStandardFont(KGlobalSettings::fixedFont().family())