summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/kptextpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/kptextpage.cpp')
-rw-r--r--kdeprint/cups/kptextpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/cups/kptextpage.cpp b/kdeprint/cups/kptextpage.cpp
index 25cfb888d..cec0f6c23 100644
--- a/kdeprint/cups/kptextpage.cpp
+++ b/kdeprint/cups/kptextpage.cpp
@@ -261,7 +261,7 @@ void KPTextPage::setOptions(const TQMap<TQString,TQString>& opts)
if (!(value=opts["columns"]).isEmpty())
m_columns->setValue(value.toInt());
int ID(0);
- if (opts.tqcontains("prettyprint") && (opts["prettyprint"].isEmpty() || opts["prettyprint"] == "true"))
+ if (opts.contains("prettyprint") && (opts["prettyprint"].isEmpty() || opts["prettyprint"] == "true"))
ID = 1;
m_prettyprint->setButton(ID);
slotPrettyChanged(ID);