summaryrefslogtreecommitdiffstats
path: root/tdehtml/tdehtmlview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-02-09 15:14:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-02-09 15:14:56 +0900
commit6b4be5f2df2da8986fa68a5de11d509cc37d44cb (patch)
tree4f22ca0f4708e3befcba96f1d3f47661acc5f02b /tdehtml/tdehtmlview.cpp
parentca0e1f81a7dbae8c609b1332e04db5ac7d6fe7df (diff)
downloadtdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.tar.gz
tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.zip
Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692
Diffstat (limited to 'tdehtml/tdehtmlview.cpp')
-rw-r--r--tdehtml/tdehtmlview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdehtml/tdehtmlview.cpp b/tdehtml/tdehtmlview.cpp
index 16b274cbd..9e921809c 100644
--- a/tdehtml/tdehtmlview.cpp
+++ b/tdehtml/tdehtmlview.cpp
@@ -2801,7 +2801,7 @@ void TDEHTMLView::print(bool quick)
// We ignore margin settings for html and body when printing
// and use the default margins from the print-system
// (In Qt 3.0.x the default margins are hardcoded in Qt)
- m_part->xmlDocImpl()->setPrintStyleSheet( printer->option("app-tdehtml-printfriendly") == "true" ?
+ m_part->xmlDocImpl()->setPrintStyleSheet( printer->option("app-khtml-printfriendly") == "true" ?
"* { background-image: none !important;"
" background-color: white !important;"
" color: black !important; }"
@@ -2825,7 +2825,7 @@ void TDEHTMLView::print(bool quick)
m_part->xmlDocImpl()->styleSelector()->computeFontSizes(&metrics, 100);
m_part->xmlDocImpl()->updateStyleSelector();
- root->setPrintImages( printer->option("app-tdehtml-printimages") == "true");
+ root->setPrintImages( printer->option("app-khtml-printimages") == "true");
root->makePageBreakAvoidBlocks();
root->setNeedsLayoutAndMinMaxRecalc();
@@ -2834,7 +2834,7 @@ void TDEHTMLView::print(bool quick)
// check sizes ask for action.. (scale or clip)
- bool printHeader = (printer->option("app-tdehtml-printheader") == "true");
+ bool printHeader = (printer->option("app-khtml-printheader") == "true");
int headerHeight = 0;
TQFont headerFont("Sans Serif", 8);