[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/khtml-svg/svg
From:       Rob Buis <buis () kde ! org>
Date:       2006-04-02 16:38:40
Message-ID: 1143995920.143413.15030.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 525699 by buis:

Make correct image references.


 M  +2 -4      SVGImageElementImpl.cpp  


--- branches/work/khtml-svg/svg/SVGImageElementImpl.cpp #525698:525699
@@ -121,10 +121,8 @@
             if(SVGURIReferenceImpl::parseAttribute(attr))
     		{
                 QString fname = DOM::DOMString(href()->baseVal()).string();
-                //KUrl fullUrl(ownerDocument()->documentKURI(), fname);
-    			//kdDebug() << k_funcinfo << fullUrl << endl;
-				kDebug() << "fname : " << fname << endl;
-                m_cachedImage = ownerDocument()->docLoader()->requestImage(khtml::parseURL(fname));
+                KUrl fullUrl(ownerDocument()->baseURL(), fname);
+                m_cachedImage = ownerDocument()->docLoader()->requestImage(fullUrl.url());
 
           	    if(m_cachedImage)
     	             m_cachedImage->ref(const_cast<SVGImageElementImpl *>(this));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic