From d3c156be11f6c4684ddd15b310b6395bcdb2a2d9 Mon Sep 17 00:00:00 2001 From: Koos Vriezen Date: Tue, 20 Aug 2002 20:17:44 +0000 Subject: [PATCH] Support for JS document.title="mytitle" svn path=/trunk/kdelibs/; revision=172927 --- khtml/dom/html_document.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/khtml/dom/html_document.cpp b/khtml/dom/html_document.cpp index d1a15639a8..e3cb061ac9 100644 --- a/khtml/dom/html_document.cpp +++ b/khtml/dom/html_document.cpp @@ -87,9 +87,10 @@ DOMString HTMLDocument::title() const return static_cast(impl)->title(); } -void HTMLDocument::setTitle( const DOMString &/*value*/ ) +void HTMLDocument::setTitle( const DOMString &value ) { - // ### + if (impl) + static_cast(impl)->setTitle(value); } DOMString HTMLDocument::referrer() const -- GitLab