[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: favicons problem
From: Dirk Mueller <mueller () kde ! org>
Date: 2001-07-16 23:15:08
[Download RAW message or body]
Hi,
when you first visit a site with an anchor (htmlref,
http://www.foo/index.html#foobar) set, it uses that name for the favicon.ico
as well.
below my attempt at fixing this. please review.
Dirk
["favicons.patch" (text/plain)]
Index: favicons/favicons.cpp
===================================================================
RCS file: /home/kde/kdebase/libkonq/favicons/favicons.cpp,v
retrieving revision 1.5
diff -u -3 -d -p -b -r1.5 favicons.cpp
--- favicons/favicons.cpp 2001/06/20 05:19:51 1.5
+++ favicons/favicons.cpp 2001/07/16 23:15:05
@@ -139,6 +139,7 @@ void FaviconsModule::downloadHostIcon(co
KURL iconURL(url);
iconURL.setEncodedPathAndQuery("/favicon.ico");
+ iconURL.setRef( QString::null );
startDownload(url.host(), true, iconURL);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic