summaryrefslogtreecommitdiffstats
path: root/tdehtml/ecma/xmlhttprequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/ecma/xmlhttprequest.cpp')
-rw-r--r--tdehtml/ecma/xmlhttprequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/ecma/xmlhttprequest.cpp b/tdehtml/ecma/xmlhttprequest.cpp
index bfaa91231..d95fe5e58 100644
--- a/tdehtml/ecma/xmlhttprequest.cpp
+++ b/tdehtml/ecma/xmlhttprequest.cpp
@@ -725,7 +725,7 @@ Value XMLHttpRequestProtoFunc::tryCall(ExecState *exec, Object &thisObj, const L
}
TQString method = args[0].toString(exec).qstring();
- KHTMLPart *part = ::tqqt_cast<KHTMLPart *>(Window::retrieveActive(exec)->part());
+ TDEHTMLPart *part = ::tqqt_cast<TDEHTMLPart *>(Window::retrieveActive(exec)->part());
if (!part)
return Undefined();
KURL url = KURL(part->document().completeURL(args[1].toString(exec).qstring()).string());